Skip to content

Commit 5fb0d56

Browse files
kegilbertadbridge
authored andcommitted
Fixed typos
1 parent e52f649 commit 5fb0d56

File tree

2 files changed

+3
-4
lines changed
  • targets
    • TARGET_ONSEMI/TARGET_NCS36510
    • TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_DISCO_L476VG

2 files changed

+3
-4
lines changed

targets/TARGET_ONSEMI/TARGET_NCS36510/PinNames.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@ typedef enum {
133133
SW2 = GPIO10, /*NEW connection on NCS36510-RF Rev 1.1 */
134134

135135
// Standardized button names
136-
BUTTON1 = USER_BUTTON,
137-
BUTTON2 = SW1,
138-
BUTTON3 = SW2,
136+
BUTTON1 = SW1,
137+
BUTTON2 = SW2,
139138

140139
SERIAL_TX = GPIO0,
141140
SERIAL_RX = GPIO1,

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/TARGET_DISCO_L476VG/PinNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ typedef enum {
145145
// Standardized button names
146146
BUTTON1 = USER_BUTTON,
147147
BUTTON2 = JOYSTICK_LEFT,
148-
BUTTON3 = JOYSTICK_RIGH,
148+
BUTTON3 = JOYSTICK_RIGHT,
149149
BUTTON4 = JOYSTICK_UP,
150150
BUTTON5 = JOYSTICK_DOWN,
151151

0 commit comments

Comments
 (0)