diff --git a/cpu/stm32/include/periph_cpu.h b/cpu/stm32/include/periph_cpu.h index a3caf8be85..4b2b38892b 100644 --- a/cpu/stm32/include/periph_cpu.h +++ b/cpu/stm32/include/periph_cpu.h @@ -324,8 +324,10 @@ typedef enum { GPIO_AF12, /**< use alternate function 12 */ GPIO_AF13, /**< use alternate function 13 */ GPIO_AF14, /**< use alternate function 14 */ - GPIO_AF15 /**< use alternate function 15 */ + GPIO_AF15, /**< use alternate function 15 */ #endif + GPIO_AF_UNDEF /** an UNDEF value definition, e.g. for register + based spi */ #endif } gpio_af_t;