Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC23XX/analogout_api.c
- Revision:
- 23:8d50de55f208
- Parent:
- 13:0645d8841f51
- Child:
- 227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC23XX/analogout_api.c Fri Sep 13 14:22:58 2013 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC23XX/analogout_api.c Mon Sep 16 16:15:04 2013 +0100
@@ -25,7 +25,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");
}
