mirror of https://github.com/ARMmbed/mbed-os.git
The DEVICE_FOO macros are always defined (either 0 or 1). This patch replaces any instances of a define check on a DEVICE_FOO macro with value test instead. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> |
||
|---|---|---|
| .. | ||
| TARGET_NUCLEO_F207ZG | ||
| device | ||
| analogin_device.c | ||
| analogout_device.c | ||
| can_device.h | ||
| device.h | ||
| flash_api.c | ||
| gpio_irq_device.c | ||
| gpio_irq_device.h | ||
| i2c_device.h | ||
| objects.h | ||
| pin_device.h | ||
| pwmout_device.c | ||
| pwmout_device.h | ||
| serial_device.c | ||
| spi_api.c | ||
| spi_device.h | ||