Remove global error state from main file

This commit is contained in:
Mario Hüttel 2020-08-16 12:53:05 +02:00
parent 15d255778c
commit 68883735ec

View File

@ -45,8 +45,6 @@
#include <reflow-controller/reflow-menu.h> #include <reflow-controller/reflow-menu.h>
#include <reflow-controller/safety/safety-controller.h> #include <reflow-controller/safety/safety-controller.h>
bool global_error_state;
static void setup_nvic_priorities(void) static void setup_nvic_priorities(void)
{ {
/* No sub priorities */ /* No sub priorities */
@ -200,8 +198,6 @@ int main(void)
zero_ccm_ram(); zero_ccm_ram();
setup_system(); setup_system();
global_error_state = false;
shell_handle = shell_init(write_shell_callback); shell_handle = shell_init(write_shell_callback);
shell_print_motd(shell_handle); shell_print_motd(shell_handle);