[LPC1347] Fix cast warning for GCC_ARM

pull/2810/head
Toyomasa Watarai 2016-09-26 16:16:27 +09:00
parent dbcfedcebe
commit 6478a07859
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ static LPC_CTxxBx_Type *Timers[4] = {
void pwmout_init(pwmout_t* obj, PinName pin) {
// determine the channel
PWMName pwm = (PWMName)pinmap_peripheral(pin, PinMap_PWM);
MBED_ASSERT(pwm != (uint32_t)NC);
MBED_ASSERT(pwm != (PWMName)NC);
obj->pwm = pwm;