mbed-os/libraries
Adam Green cc56997a70 Cast to matching enumeration type instead of uint32_t
This commit targets the LPC11U24 code, whereas a previous one
targetted similar issues in the LPC1768 mbed HAL code.

These changes were made to silence GCC warnings and fix potential bugs
where they would never be equal when the enumeration wasn't a 32-bit
type.

For example, pinmap.c used to contain this code:
    if (pin == (uint32_t)NC) return;
I switched it to:
    if (pin == (PinName)NC) return;

I wonder why this casting to uint32_t was done in the first place?
Maybe another supported compiler requires it?
2013-08-13 01:47:19 -07:00
..
USBDevice Updated pin mapping and CAN HAL for LPC4088 target 2013-08-08 13:57:02 +02:00
USBHost usbhost: fixed skip bits/max size conf descriptor 2013-03-18 14:54:08 +00:00
doc Initial commit of the mbed libraries and tools 2013-02-18 15:32:11 +00:00
dsp Initial commit of the mbed libraries and tools 2013-02-18 15:32:11 +00:00
fs Initial commit of the mbed libraries and tools 2013-02-18 15:32:11 +00:00
mbed Cast to matching enumeration type instead of uint32_t 2013-08-13 01:47:19 -07:00
net Fixed some bugs in HTTPS library 2013-08-07 14:38:07 +03:00
rpc Updated pin mapping and CAN HAL for LPC4088 target 2013-08-08 13:57:02 +02:00
rtos Merge remote-tracking branch 'upstream/master' 2013-07-26 15:50:59 +01:00
tests Updated pin mapping and CAN HAL for LPC4088 target 2013-08-08 13:57:02 +02:00