summaryrefslogtreecommitdiff
path: root/components/drivers/hwtimer/hwtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/hwtimer/hwtimer.c')
-rw-r--r--components/drivers/hwtimer/hwtimer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/hwtimer/hwtimer.c b/components/drivers/hwtimer/hwtimer.c
index 83a76c7b9d..3953919fae 100644
--- a/components/drivers/hwtimer/hwtimer.c
+++ b/components/drivers/hwtimer/hwtimer.c
@@ -255,6 +255,7 @@ static rt_err_t rt_hwtimer_control(struct rt_device *dev, int cmd, void *args)
*((struct rt_hwtimer_info*)args) = *timer->info;
}
+ break;
case HWTIMER_CTRL_MODE_SET:
{
rt_hwtimer_mode_t *m;