Fix compiler warning: sketch/Marlin_main.cpp:1042:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

This commit is contained in:
Marek Bel 2018-07-24 16:04:19 +02:00
parent 0bde84983b
commit 3811e30df9

View file

@ -1039,7 +1039,7 @@ uint8_t check_printer_version()
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