diff --git a/gpio.h b/gpio.h --- a/gpio.h +++ b/gpio.h @@ -2,6 +2,9 @@ #define GPIO_H #include +#include "stm32f0xx_hal.h" +#include "stm32f0xx_hal_conf.h" +#include "config.h" #define CHANGE_PERIOD_MS 100 #define CHANGE_ELAPSED (HAL_GetTick() - change_time_reset) > CHANGE_PERIOD_MS