diff --git a/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c b/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c index 721bd26a56..15b7df4b57 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c +++ b/targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c @@ -74,7 +74,6 @@ void pwmout_init(pwmout_t* obj, PinName pin) SYS_ResetModule(modinit->rsetidx); } - EPWM_T *pwm_base = (EPWM_T *) NU_MODBASE(obj->pwm); uint32_t chn = NU_MODSUBINDEX(obj->pwm); // NOTE: Channels 0/1/2/3/4/5 share a clock source.