mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c
- Revision:
- 184:8b5ae2e87659
- Parent:
- 13:0645d8841f51
- Child:
- 227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c Wed May 07 17:45:07 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC13XX/pwmout_api.c Thu May 08 09:00:07 2014 +0100 @@ -119,9 +119,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) {