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

if ((state * LANGBOOT_BLOCKSIZE) < header.size)
This commit is contained in:
Marek Bel 2018-07-24 16:07:28 +02:00
parent 3811e30df9
commit 5ceece08f8

View File

@ -1052,7 +1052,7 @@ void erase_eeprom_section(uint16_t offset, uint16_t bytes)
// language update from external flash
#define LANGBOOT_BLOCKSIZE 0x1000
#define LANGBOOT_BLOCKSIZE 0x1000u
#define LANGBOOT_RAMBUFFER 0x0800
void update_sec_lang_from_external_flash()