diff options
Diffstat (limited to 'board/board-stm8s-discovery.h')
-rw-r--r-- | board/board-stm8s-discovery.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/board-stm8s-discovery.h b/board/board-stm8s-discovery.h index 25b3e84..c4d52ea 100644 --- a/board/board-stm8s-discovery.h +++ b/board/board-stm8s-discovery.h @@ -39,9 +39,9 @@ #define GPIO_USB_BASE GPIOA_BASE #define GPIO_LED_BASE GPIOA_BASE -#define RCC_APB2ENR_IOP_EN \ +#define RCC_ENR_IOP_EN \ (RCC_APB2ENR_IOPAEN | RCC_APB2ENR_IOPBEN | RCC_APB2ENR_AFIOEN) -#define RCC_APB2RSTR_IOP_RST \ +#define RCC_RSTR_IOP_RST \ (RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_IOPBRST | RCC_APB2RSTR_AFIORST) /* NeuG settings for ADC2 is default (PA0: Analog IN0, PA1: Analog IN1). */ |