Add comment to function

This commit is contained in:
Mario Hüttel 2022-07-30 15:52:47 +02:00
parent 00b8d1f48e
commit 7a36b597be
1 changed files with 4 additions and 0 deletions

View File

@ -364,6 +364,10 @@ static void set_overtemp_config(float over_temperature)
safety_controller_overtemp_config.crc = crc_unit_get_crc();
}
/**
* @brief Check the overtemperature config structure's CRC
* @return true if check failed. false if CRC check successful
*/
static bool over_temperature_config_check(void)
{
if (safety_controller_overtemp_config.crc_dummy_seed != 0xA4F5C7E6UL)