From b31d6f6eaabe3c5b64e501244125161a957570b8 Mon Sep 17 00:00:00 2001 From: ccli8 Date: Thu, 3 Aug 2017 09:24:05 +0800 Subject: [PATCH] [M487] Fix compile warnings with ARM toolchain --- targets/TARGET_NUVOTON/TARGET_M480/pwmout_api.c | 1 - 1 file changed, 1 deletion(-) 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.