mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC11UXX/pwmout_api.c
- Revision:
- 184:8b5ae2e87659
- Parent:
- 175:906e2386ace8
- Child:
- 227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/pwmout_api.c Wed May 07 17:45:07 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/pwmout_api.c Thu May 08 09:00:07 2014 +0100 @@ -113,9 +113,7 @@ LPC_CTxxBx_Type *timer = Timers[tid.timer]; uint32_t t_off = timer->MR3 - (uint32_t)((float)(timer->MR3) * value); - timer->TCR = TCR_RESET; timer->MR[tid.mr] = t_off; - timer->TCR = TCR_CNT_EN; } float pwmout_read(pwmout_t* obj) {