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.
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c
- Revision:
- 256:76fd9a263045
- Parent:
- 251:de9a1e4ffd79
- Child:
- 285:31249416b6f9
--- a/targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c Fri Jul 11 10:00:08 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC43XX/pinmap.c Tue Jul 15 07:45:08 2014 +0100 @@ -29,7 +29,7 @@ } void pin_mode(PinName pin, PinMode mode) { - MBED_ASSERT((pin != (PinName)NC) && (mode == OpenDrain)); + MBED_ASSERT(pin != (PinName)NC); // && (mode != OpenDrain)); __IO uint32_t *reg = (__IO uint32_t*) MBED_SCU_REG(pin); uint32_t tmp = *reg;