Fix compiler warning: sketch/Marlin_main.cpp:1042:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
This commit is contained in:
parent
0bde84983b
commit
3811e30df9
|
|
@ -1039,7 +1039,7 @@ uint8_t check_printer_version()
|
||||||
|
|
||||||
void erase_eeprom_section(uint16_t offset, uint16_t bytes)
|
void erase_eeprom_section(uint16_t offset, uint16_t bytes)
|
||||||
{
|
{
|
||||||
for (int i = offset; i < (offset+bytes); i++) eeprom_write_byte((uint8_t*)i, 0xFF);
|
for (unsigned int i = offset; i < (offset+bytes); i++) eeprom_write_byte((uint8_t*)i, 0xFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BOOTAPP
|
#ifdef BOOTAPP
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue