refactoring

This commit is contained in:
rusefi 2023-03-16 15:53:01 -04:00
parent 64a3f16f6a
commit 7c33515d0e
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ void Engine::preCalculate() {
engine->outputChannels.engineMakeCodeNameCrc16 = crc32(engineConfiguration->engineMake, 3 * VEHICLE_INFO_SIZE);
// we need and can empty warning message for CRC purposes
memset(config->warning_message, 0, sizeof(error_message_t));
memset(config->warning_message, 0, sizeof(config->warning_message));
engine->outputChannels.tuneCrc16 = crc32(config, sizeof(persistent_config_s));
#endif /* EFI_TUNER_STUDIO */
}