Update develop. Ready for pre-release v0.4 #49
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user