range fix in test script

This commit is contained in:
RobTillaart 2017-07-16 08:04:20 +02:00
parent a8d8665597
commit d2b8f21e92

View File

@ -234,7 +234,7 @@ void dumpEEPROM(uint16_t memoryAddress, uint16_t length)
length = (length + BLOCK_TO_LENGTH - 1) / BLOCK_TO_LENGTH * BLOCK_TO_LENGTH;
byte b = ee.readByte(memoryAddress);
for (int i = 0; i < length; i++)
for (unsigned int i = 0; i < length; i++)
{
char buf[6];
if (memoryAddress % BLOCK_TO_LENGTH == 0)