[M487] Fix SW2/SW3 interchange error in NUMAKER_IOT_M487

pull/8425/head
ccli8 2018-10-15 15:47:16 +08:00
parent 8bf51be75a
commit 9d27b72950
1 changed files with 5 additions and 3 deletions

View File

@ -131,10 +131,12 @@ typedef enum {
// Button naming
#if TARGET_NUMAKER_PFM_M487
SW2 = PG_15,
#elif TARGET_NUMAKER_IOT_M487
SW2 = PG_5,
#endif
SW3 = PF_11,
#elif TARGET_NUMAKER_IOT_M487
SW2 = PF_11,
SW3 = PG_5,
#endif
} PinName;