diff --git a/grbl-lpc/flash.cpp b/grbl-lpc/flash.cpp index 0355d04..a42b843 100644 --- a/grbl-lpc/flash.cpp +++ b/grbl-lpc/flash.cpp @@ -35,6 +35,8 @@ void eeprom_init() void eeprom_commit() { + if (!memcmp(flash_buffer, flash_memory, flash_size)) + return; unsigned prepCommand[5] = { 50, flash_sector,