Add comment to function

This commit is contained in:
Mario Hüttel 2022-07-30 15:52:47 +02:00
parent 00b8d1f48e
commit 7a36b597be

View File

@ -364,6 +364,10 @@ static void set_overtemp_config(float over_temperature)
safety_controller_overtemp_config.crc = crc_unit_get_crc(); 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) static bool over_temperature_config_check(void)
{ {
if (safety_controller_overtemp_config.crc_dummy_seed != 0xA4F5C7E6UL) if (safety_controller_overtemp_config.crc_dummy_seed != 0xA4F5C7E6UL)