Skip to content

Commit 04c0e4f

Browse files
committed
add button definitions
1 parent c31ecd8 commit 04c0e4f

File tree

1 file changed

+3
-0
lines changed
  • targets/TARGET_GigaDevice/TARGET_GD32F4XX/TARGET_GD32F450ZI

1 file changed

+3
-0
lines changed

targets/TARGET_GigaDevice/TARGET_GD32F4XX/TARGET_GD32F450ZI/PinNames.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ typedef enum {
235235
KEY1 = PORTE_5,
236236
KEY2 = PORTE_4,
237237

238+
BUTTON1 = KEY1,
239+
BUTTON2 = KEY2,
240+
238241
SERIAL_TX = PORTC_12,
239242
SERIAL_RX = PORTD_2,
240243
USBTX = SERIAL_TX,

0 commit comments

Comments
 (0)