Issue #4: Implement Constant temperature function in GUI. This is useful to verify the oven parameters
This commit is contained in:
@@ -55,6 +55,7 @@ static void setup_nvic_priorities(void)
|
||||
NVIC_SetPriority(DMA2_Stream0_IRQn, 1);
|
||||
/* Shelmatta UART TX */
|
||||
NVIC_SetPriority(DMA2_Stream7_IRQn, 3);
|
||||
NVIC_SetPriority(DMA2_Stream4_IRQn, 2);
|
||||
}
|
||||
|
||||
FATFS fs;
|
||||
@@ -208,8 +209,10 @@ int main(void)
|
||||
handle_shell_uart_input(shell_handle);
|
||||
|
||||
safety_controller_handle();
|
||||
/* Todo: Remove this */
|
||||
oven_driver_set_power(0);
|
||||
if (oven_pid_get_status() == OVEN_PID_RUNNING) {
|
||||
oven_pid_handle();
|
||||
}
|
||||
|
||||
oven_driver_apply_power_level();
|
||||
|
||||
safety_controller_report_timing(ERR_TIMING_MAIN_LOOP);
|
||||
|
Reference in New Issue
Block a user