mirror of https://github.com/ARMmbed/mbed-os.git
[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
parent
a8f0817cdb
commit
cd73422345
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue