Compare commits
No commits in common. "6ac108e1b215bd4562033bdfd105cd961b149105" and "00b8d1f48e6cc5cca58729b37fddf9c6c015207d" have entirely different histories.
6ac108e1b2
...
00b8d1f48e
@ -312,7 +312,7 @@ int main(void)
|
||||
* it is tried to load it from SD card.
|
||||
*/
|
||||
if (systick_ticks_have_passed(quarter_sec_timestamp, 250)) {
|
||||
led_set(1u, 0);
|
||||
led_set(1, 0);
|
||||
sd_old = sd_card_mounted;
|
||||
sd_card_mounted = mount_sd_card_if_avail(sd_card_mounted);
|
||||
|
||||
@ -325,14 +325,6 @@ int main(void)
|
||||
}
|
||||
}
|
||||
|
||||
/* Check if any flags are present, that disable the PID controller. Blink
|
||||
* LED 0 in this case
|
||||
*/
|
||||
if (oven_pid_get_status() == OVEN_PID_ABORTED)
|
||||
led_set(0u, led_get(0u) ? 0 : 1);
|
||||
else
|
||||
led_set(0u, 0);
|
||||
|
||||
quarter_sec_timestamp = systick_get_global_tick();
|
||||
}
|
||||
|
||||
|
@ -364,10 +364,6 @@ 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