diff --git a/stm-firmware/include/stm-periph/stm32-gpio-macros.h b/stm-firmware/include/stm-periph/stm32-gpio-macros.h index 438ba03..2ceec81 100644 --- a/stm-firmware/include/stm-periph/stm32-gpio-macros.h +++ b/stm-firmware/include/stm-periph/stm32-gpio-macros.h @@ -22,6 +22,7 @@ #define __STM32GPIOMACROS_H__ #define MODER_DELETE(pin) ~(0x3U << (pin * 2)) +#define PUPDR_DELETE(pin) ~(0x3U << (pin * 2)) #define OUTPUT(pin) (0x01U << (pin * 2)) #define PULLUP(pin) (0x1U << (pin* 2)) #define ALTFUNC(pin) ((0x2) << (pin * 2))