Change var index to type int

This commit is contained in:
sanni 2019-10-17 17:14:08 +02:00
parent 22c88cd3fd
commit d4935ef326
2 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static const word PROGMEM eepid [] = {
};
byte eepcount = (sizeof(eepid) / sizeof(eepid[0])) / 2;
byte index;
int index;
word eepdata;
// CD BACKUP RAM

View File

@ -894,7 +894,9 @@ setmapper:
for (int i = 0; i < mapcount; i++) {
index = i * 7;
mapselect = pgm_read_byte(mapsize + index);
Serial.print("[");
Serial.print(mapselect);
Serial.print("]");
if (i < mapcount - 1) {
if ((i != 0) && ((i + 1) % 10 == 0))
Serial.println(F(""));