Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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) {
