diff --git a/states.h b/states.h --- a/states.h +++ b/states.h @@ -1,6 +1,7 @@ #ifndef STATES_H #define STATES_H +#include "stm32f0xx_hal.h" #include "config.h" typedef struct { @@ -66,7 +67,8 @@ enum GOTO_MODE { }; enum RESET_MODE { - RESET_RESET = 0, + RESET_REBOOT = 0, + RESET_DEFAULTS, RESET_BOOTLOADER, RESET_EXIT, RESET_SIZE,