modified the bsp files of at32 to make them work better
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
// Button
|
||||
#define BUTTON_PORT GPIOA
|
||||
#define BUTTON_PIN GPIO_PINS_0
|
||||
#define BUTTON_STATE_ACTIVE 0
|
||||
#define BUTTON_STATE_ACTIVE 1
|
||||
#define BUTTON_GPIO_CLK_EN() crm_periph_clock_enable(CRM_GPIOA_PERIPH_CLOCK, TRUE)
|
||||
|
||||
// Usart
|
||||
|
Reference in New Issue
Block a user