Skip to content

Commit

Permalink
Revert "Fix presumed copy paste error in STM32F0 example (#498)"
Browse files Browse the repository at this point in the history
This reverts commit 53d0137.
  • Loading branch information
valeros committed Feb 26, 2021
1 parent 53d0137 commit 67b4a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cmsis-blink/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "stm32f0xx.h"
#define LEDPORT (GPIOC)
#define LED1 (8)
#define ENABLE_GPIO_CLOCK (RCC->AHBENR |= RCC_AHBENR_GPIOCEN)
#define ENABLE_GPIO_CLOCK (RCC->APB2ENR |= RCC_AHBENR_GPIOCEN)
#define _MODER MODER
#define GPIOMODER (GPIO_MODER_MODER8_0)
#elif STM32F1
Expand Down

0 comments on commit 67b4a32

Please sign in to comment.