mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC176X/analogout_api.c
- Revision:
- 19:398f4c622e1b
- Parent:
- 13:0645d8841f51
- Child:
- 227:7bd0639b8911
diff -r 692be3d4e4cc -r 398f4c622e1b targets/hal/TARGET_NXP/TARGET_LPC176X/analogout_api.c --- a/targets/hal/TARGET_NXP/TARGET_LPC176X/analogout_api.c Mon Aug 12 13:49:01 2013 +0300 +++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/analogout_api.c Mon Aug 19 18:17:02 2013 +0300 @@ -26,7 +26,7 @@ void analogout_init(dac_t *obj, PinName pin) { obj->dac = (DACName)pinmap_peripheral(pin, PinMap_DAC); - if (obj->dac == (uint32_t)NC) { + if (obj->dac == (DACName)NC) { error("DAC pin mapping failed"); }