Skip to content

Commit

Permalink
Merge pull request #8425 from OpenNuvoton/nuvoton_m487_fix_button
Browse files Browse the repository at this point in the history
M487: Fix SW2/SW3 interchange error in NUMAKER_IOT_M487
  • Loading branch information
Cruz Monrreal committed Oct 17, 2018
2 parents 7085d16 + 9d27b72 commit c37dc5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions targets/TARGET_NUVOTON/TARGET_M480/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,12 @@ typedef enum {
// Button naming
#if TARGET_NUMAKER_PFM_M487
SW2 = PG_15,
SW3 = PF_11,
#elif TARGET_NUMAKER_IOT_M487
SW2 = PG_5,
SW2 = PF_11,
SW3 = PG_5,
#endif
SW3 = PF_11,


} PinName;

Expand Down

0 comments on commit c37dc5f

Please sign in to comment.