refactoring

This commit is contained in:
rusefi 2023-03-16 15:50:31 -04:00
parent 3ef0d453a5
commit 72c6dae8fe
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ void readFromFlash() {
// we can only change the state after the CRC check
engineConfiguration->byFirmwareVersion = getRusEfiVersion();
memset(persistentState.persistentConfiguration.warning_message , 0, ERROR_BUFFER_SIZE);
memset(persistentState.persistentConfiguration.warning_message , 0, sizeof(persistentState.persistentConfiguration.warning_message));
validateConfiguration();
}