We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbcfedc commit 6478a07Copy full SHA for 6478a07
hal/targets/hal/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c
@@ -69,7 +69,7 @@ static LPC_CTxxBx_Type *Timers[4] = {
69
void pwmout_init(pwmout_t* obj, PinName pin) {
70
// determine the channel
71
PWMName pwm = (PWMName)pinmap_peripheral(pin, PinMap_PWM);
72
- MBED_ASSERT(pwm != (uint32_t)NC);
+ MBED_ASSERT(pwm != (PWMName)NC);
73
74
obj->pwm = pwm;
75
0 commit comments