diff options
| author | zhiqiang <[email protected]> | 2025-09-04 14:38:27 +0800 |
|---|---|---|
| committer | zhiqiang <[email protected]> | 2025-09-04 14:38:27 +0800 |
| commit | f6ca80ab13997d8fdee084d218c22ae15d734e2a (patch) | |
| tree | eca66dc58da7ae0b40bf70ed055bb49868232e0f /hw/bsp/at32f415 | |
| parent | 93487deab7449261fd42a2b7ceeffdbec469dc83 (diff) | |
modified the bsp files of at32 to make them work better
Diffstat (limited to 'hw/bsp/at32f415')
| -rw-r--r-- | hw/bsp/at32f415/boards/at_start_f415/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/at32f415/boards/at_start_f415/board.h b/hw/bsp/at32f415/boards/at_start_f415/board.h index 0464d383e..b3c2c1aea 100644 --- a/hw/bsp/at32f415/boards/at_start_f415/board.h +++ b/hw/bsp/at32f415/boards/at_start_f415/board.h @@ -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 |
