mbed library sources
Dependents: frdm_kl05z_gpio_test
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;