mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-14 17:05:08 +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 eepcount = (sizeof(eepid) / sizeof(eepid[0])) / 2;
|
||||||
byte index;
|
int index;
|
||||||
word eepdata;
|
word eepdata;
|
||||||
|
|
||||||
// CD BACKUP RAM
|
// CD BACKUP RAM
|
||||||
|
@ -894,7 +894,9 @@ setmapper:
|
|||||||
for (int i = 0; i < mapcount; i++) {
|
for (int i = 0; i < mapcount; i++) {
|
||||||
index = i * 7;
|
index = i * 7;
|
||||||
mapselect = pgm_read_byte(mapsize + index);
|
mapselect = pgm_read_byte(mapsize + index);
|
||||||
|
Serial.print("[");
|
||||||
Serial.print(mapselect);
|
Serial.print(mapselect);
|
||||||
|
Serial.print("]");
|
||||||
if (i < mapcount - 1) {
|
if (i < mapcount - 1) {
|
||||||
if ((i != 0) && ((i + 1) % 10 == 0))
|
if ((i != 0) && ((i + 1) % 10 == 0))
|
||||||
Serial.println(F(""));
|
Serial.println(F(""));
|
||||||
|
Loading…
Reference in New Issue
Block a user