Fix gpio clock

This commit is contained in:
Jie Feng
2025-07-27 11:29:12 +08:00
parent aacd73ba42
commit 231d4122ac

View File

@@ -37,7 +37,7 @@
#define LED_PORT GPIOA
#define LED_PIN GPIO_Pin_3
#define LED_STATE_ON 0
#define LED_CLOCK_EN() RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE)
#define LED_CLOCK_EN() RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE)
// TODO UART port