diff --git a/src/eeprom_avr.cpp b/src/eeprom_avr.cpp index 6a05866b3..acf81f7f2 100644 --- a/src/eeprom_avr.cpp +++ b/src/eeprom_avr.cpp @@ -481,9 +481,9 @@ void RlcFile::nextWriteStep() m_write_len = 0; m_cur_rlc_len = 0; } - - if (!s_sync_write) + else if (!s_sync_write) { nextRlcWriteStep(); + } } void RlcFile::create(uint8_t i_fileId, uint8_t typ, uint8_t sync_write)