diff options
| author | Wayne Lin <[email protected]> | 2020-05-15 09:46:01 +0800 |
|---|---|---|
| committer | Wayne Lin <[email protected]> | 2020-05-20 16:04:31 +0800 |
| commit | f0e4009c30d1597c756db4c03e97d3b75e730888 (patch) | |
| tree | 0c397585f95af008deff31e2aef94d60ef410b5f /components/drivers/hwtimer/hwtimer.c | |
| parent | 5d65fe074f0e0ba53673ffef6205aab6baa76d0a (diff) | |
Fix rt_hw_inputcapture_isr public function name in header file.
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
Diffstat (limited to 'components/drivers/hwtimer/hwtimer.c')
| -rw-r--r-- | components/drivers/hwtimer/hwtimer.c | 1 |
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; |
