[M252KG] Force enum PinName to 32-bit

NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
pull/11176/head
Chun-Chieh Li 2019-07-30 13:12:46 +08:00
parent a8f0817cdb
commit cd73422345
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ typedef enum {
LED4 = LED1, // No real LED. Just for passing ATS.
/* Button naming */
/* Force PinName to 32-bit required by NU_PINNAME_BIND(...) */
FORCE_ENUM_PINNAME_32BIT = 0x7FFFFFFF,
} PinName;