fix too long lines

This commit is contained in:
Mario Hüttel 2020-06-14 22:56:34 +02:00
parent fe75b93ec7
commit 485b887b54

View File

@ -225,11 +225,13 @@ int main()
safety_adc_status = handle_safety_adc();
quarter_sec_timestamp = systick_get_global_tick();
if (safety_adc_status & SAFETY_ADC_CHECK_TEMP_LOW || safety_adc_status & SAFETY_ADC_CHECK_TEMP_HIGH) {
if (safety_adc_status & SAFETY_ADC_CHECK_TEMP_LOW ||
safety_adc_status & SAFETY_ADC_CHECK_TEMP_HIGH) {
oven_pid_report_error(OVEN_PID_ERR_OVERTEMP);
}
if (safety_adc_status & SAFETY_ADC_CHECK_VREF_LOW || safety_adc_status & SAFETY_ADC_CHECK_VREF_HIGH) {
if (safety_adc_status & SAFETY_ADC_CHECK_VREF_LOW ||
safety_adc_status & SAFETY_ADC_CHECK_VREF_HIGH) {
oven_pid_report_error(OVEN_PID_ERR_VREF_TOL);
}
@ -243,9 +245,9 @@ int main()
led_set(0, 0);
}
pt1000_status = adc_pt1000_check_error();
}
pt1000_status = adc_pt1000_check_error();
error_state = pid_status->aborted || !!safety_adc_status || !!pt1000_status;
menu_wait_request = reflow_menu_handle();