diff options
-rw-r--r-- | os/hal/include/icu.h | 4 | ||||
-rw-r--r-- | os/hal/templates/icu_lld.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/include/icu.h b/os/hal/include/icu.h index 1f4e58ece..f13349760 100644 --- a/os/hal/include/icu.h +++ b/os/hal/include/icu.h @@ -72,7 +72,7 @@ typedef enum { *
* @iclass
*/
-void icuEnableI(icup) icu_lld_enable(icup)
+#define icuEnableI(icup) icu_lld_enable(icup)
/**
* @brief Disables the input capture.
@@ -81,7 +81,7 @@ void icuEnableI(icup) icu_lld_enable(icup) *
* @iclass
*/
-void icuDisableI(ICUDriver *icup) icu_lld_disable(icup)
+#define icuDisableI(icup) icu_lld_disable(icup)
/**
* @brief Returns the width of the latest pulse.
diff --git a/os/hal/templates/icu_lld.c b/os/hal/templates/icu_lld.c index 3611c1baa..23596bc97 100644 --- a/os/hal/templates/icu_lld.c +++ b/os/hal/templates/icu_lld.c @@ -122,7 +122,7 @@ void icu_lld_disable(ICUDriver *icup) { *
* @notapi
*/
-icucnt_t icu_lld_get_width(icup) {
+icucnt_t icu_lld_get_width(ICUDriver *icup) {
}
@@ -136,7 +136,7 @@ icucnt_t icu_lld_get_width(icup) { *
* @notapi
*/
-icucnt_t icu_lld_get_period(icup) {
+icucnt_t icu_lld_get_period(ICUDriver *icup) {
}
|