summaryrefslogtreecommitdiff
path: root/chip/lm4/pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/pwm.c')
-rw-r--r--chip/lm4/pwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/pwm.c b/chip/lm4/pwm.c
index d33c287aa6..7fa935dbee 100644
--- a/chip/lm4/pwm.c
+++ b/chip/lm4/pwm.c
@@ -14,6 +14,7 @@
#include "util.h"
#include "task.h"
#include "thermal.h"
+#include "timer.h"
#include "lpc.h"
#include "lpc_commands.h"
@@ -122,8 +123,7 @@ void pwm_task(void)
{
while (1) {
update_lpc_mapped_memory();
- /* Wait 1s */
- task_wait_msg(1000000);
+ usleep(1000000);
}
}