Merge pull request #8425 from OpenNuvoton/nuvoton_m487_fix_button

M487: Fix SW2/SW3 interchange error in NUMAKER_IOT_M487
pull/8375/merge
Cruz Monrreal 2018-10-17 08:35:46 -05:00 committed by GitHub
commit c37dc5fea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;