Increase STM32 max write
This commit is contained in:
parent
31d134c05d
commit
d746de22f8
|
@ -7,7 +7,11 @@ void loadConfig();
|
|||
void loadCalibration();
|
||||
void writeCalibration();
|
||||
|
||||
#if defined(CORE_STM32) || defined(CORE_TEENSY)
|
||||
#define EEPROM_MAX_WRITE_BLOCK 64 //The maximum number of write operations that will be performed in one go. If we try to write to the EEPROM too fast (Each write takes ~3ms) then the rest of the system can hang)
|
||||
#else
|
||||
#define EEPROM_MAX_WRITE_BLOCK 30 //The maximum number of write operations that will be performed in one go. If we try to write to the EEPROM too fast (Each write takes ~3ms) then the rest of the system can hang)
|
||||
#endif
|
||||
bool eepromWritesPending = false;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue