diff options
Diffstat (limited to 'stmhal/boards/stm32f4xx-prefix.c')
-rw-r--r-- | stmhal/boards/stm32f4xx-prefix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stmhal/boards/stm32f4xx-prefix.c b/stmhal/boards/stm32f4xx-prefix.c index 989b8f0048..4d2313075a 100644 --- a/stmhal/boards/stm32f4xx-prefix.c +++ b/stmhal/boards/stm32f4xx-prefix.c @@ -2,18 +2,18 @@ #include <stdio.h> #include <stdint.h> -#include <stm32f4xx_hal.h> + +#include "stm32f4xx_hal.h" #include "misc.h" #include "mpconfig.h" #include "qstr.h" #include "obj.h" - #include "pin.h" #define AF(af_idx, af_fn, af_unit, af_type, af_ptr) \ { \ - { &pin_af_obj_type }, \ + { &pin_af_type }, \ .idx = (af_idx), \ .fn = AF_FN_ ## af_fn, \ .unit = (af_unit), \ @@ -23,7 +23,7 @@ #define PIN(p_port, p_pin, p_num_af, p_af, p_adc_num, p_adc_channel) \ { \ - { &pin_obj_type }, \ + { &pin_type }, \ .name = #p_port #p_pin, \ .port = PORT_ ## p_port, \ .pin = (p_pin), \ |