diff --git a/os/hal/ports/ES32/LLD/GPIOv1/hal_pal_lld.h b/os/hal/ports/ES32/LLD/GPIOv1/hal_pal_lld.h index ffe0107f5b..ec5e55ebb9 100644 --- a/os/hal/ports/ES32/LLD/GPIOv1/hal_pal_lld.h +++ b/os/hal/ports/ES32/LLD/GPIOv1/hal_pal_lld.h @@ -108,7 +108,7 @@ * @brief Input pad with weak pull down resistor. */ #define PAL_MODE_INPUT_PULLDOWN (PAL_ES32_MODE_INPUT | \ - PAL_ES32_PUPDR_PULLDOWN) + PAL_ES32_PUD_PULLDOWN) /** * @brief Analog input mode.