Fix rt_hw_inputcapture_isr public function name in header file.

Fix miss-break in HWTIMER_CTRL_INFO_GET case.
This commit is contained in:
Wayne Lin 2020-05-15 09:46:01 +08:00
parent 5d65fe074f
commit f0e4009c30
6 changed files with 4 additions and 3 deletions

View File

@ -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; *((struct rt_hwtimer_info*)args) = *timer->info;
} }
break;
case HWTIMER_CTRL_MODE_SET: case HWTIMER_CTRL_MODE_SET:
{ {
rt_hwtimer_mode_t *m; rt_hwtimer_mode_t *m;

View File

@ -48,7 +48,7 @@ struct rt_inputcapture_ops
rt_err_t (*get_pulsewidth)(struct rt_inputcapture_device *inputcapture, rt_uint32_t *pulsewidth_us); rt_err_t (*get_pulsewidth)(struct rt_inputcapture_device *inputcapture, rt_uint32_t *pulsewidth_us);
}; };
void rt_hw_capture_isr(struct rt_inputcapture_device *inputcapture, rt_bool_t level); void rt_hw_inputcapture_isr(struct rt_inputcapture_device *inputcapture, rt_bool_t level);
rt_err_t rt_device_inputcapture_register(struct rt_inputcapture_device *inputcapture, rt_err_t rt_device_inputcapture_register(struct rt_inputcapture_device *inputcapture,
const char *name, const char *name,

View File

@ -3,7 +3,7 @@ from building import *
cwd = GetCurrentDir() cwd = GetCurrentDir()
src = Split(""" src = Split("""
core/ud_core.c core/usbdevice_core.c
core/usbdevice.c core/usbdevice.c
""") """)

View File

@ -3,7 +3,7 @@ from building import *
cwd = GetCurrentDir() cwd = GetCurrentDir()
src = Split(""" src = Split("""
core/uh_core.c core/usbhost_core.c
core/driver.c core/driver.c
core/usbhost.c core/usbhost.c
core/hub.c core/hub.c