mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-25 20:41:52 +01:00
Change var index to type int
This commit is contained in:
parent
22c88cd3fd
commit
d4935ef326
@ -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
|
||||
|
@ -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(""));
|
||||
|
Loading…
Reference in New Issue
Block a user