I'm staring at this and don't see the problem reported:
checkWipe.h: In function 'void checkWipe()':
checkWipe.h:22: warning: comparison between signed and unsigned integer expressions
for (int x = 0; x <= (2047 - sizeof(int)); x = x + sizeof(int)) {
^
The lines of code are:
for (int x = 0; x <= (2047 - sizeof(int)); x = x + sizeof(int) ) {
EEPROM.put( x, (int)0 );
} //endfor
This is to wipe the full eeprom on a T3.2. I didn't see a function to do that in EEPROM.h.
Is sizeof() unsigned for some reason?
checkWipe.h: In function 'void checkWipe()':
checkWipe.h:22: warning: comparison between signed and unsigned integer expressions
for (int x = 0; x <= (2047 - sizeof(int)); x = x + sizeof(int)) {
^
The lines of code are:
for (int x = 0; x <= (2047 - sizeof(int)); x = x + sizeof(int) ) {
EEPROM.put( x, (int)0 );
} //endfor
This is to wipe the full eeprom on a T3.2. I didn't see a function to do that in EEPROM.h.
Is sizeof() unsigned for some reason?