bin flash update fix (after revorking) & bins

This commit is contained in:
2022-11-22 01:01:47 +03:00
parent a956b6f8e2
commit c70a4eaac9
16 changed files with 46277 additions and 45500 deletions

View File

@@ -132,6 +132,7 @@ NRFFlashStorage EEPROM;
{
#if defined(__SAM3X8E__)
if (samBufferPos) flush();
samBufferPos = 0;
#endif
@@ -219,6 +220,7 @@ NRFFlashStorage EEPROM;
#elif defined(__SAM3X8E__)
if (samBufferPos)
EEPROM.write(startPos+pos-samBufferPos,(byte*)samBuffer,samBufferPos);
samBufferPos=0;
#endif
};