Merge pull request #1344 from wodji/patch-4

fix [-Wtype-limits] warning
pull/1346/head^2
Martin Kojtal 2015-09-28 11:31:09 +02:00
commit fd08c6a5e9
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ static LPC_TMR_TypeDef *Timers[3] = {
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;