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_BLUEPILL_F103C8 | ||
TARGET_DISCO_F100RB | ||
TARGET_NUCLEO_F103RB | ||
device | ||
analogin_device.c | ||
can_device.h | ||
common_objects.h | ||
device.h | ||
flash_api.c | ||
gpio_irq_device.c | ||
gpio_irq_device.h | ||
i2c_device.h | ||
pin_device.h | ||
pwmout_device.c | ||
pwmout_device.h | ||
serial_device.c | ||
spi_api.c | ||
spi_device.h |