diff --git a/src/drivers/boards/common/stm32/board_hw_rev_ver.c b/src/drivers/boards/common/stm32/board_hw_rev_ver.c index b6733d594c51..bd59bd7c76d2 100644 --- a/src/drivers/boards/common/stm32/board_hw_rev_ver.c +++ b/src/drivers/boards/common/stm32/board_hw_rev_ver.c @@ -46,6 +46,11 @@ #include #if defined(BOARD_HAS_HW_VERSIONING) + +# if defined(GPIO_HW_VER_REV_DRIVE) +# define GPIO_HW_REV_DRIVE GPIO_HW_VER_REV_DRIVE +# define GPIO_HW_VER_DRIVE GPIO_HW_VER_REV_DRIVE +# endif /**************************************************************************** * Private Data ****************************************************************************/ @@ -118,7 +123,7 @@ static int dn_to_ordinal(uint16_t dn) * / * | * | - * +--------------- GPIO_HW_xxx_DRIVE + * +--------------- GPIO_HW_xxx_DRIVE or GPIO_HW_VER_REV_DRIVE * * Input Parameters: * id - pointer to receive the dn for the id set