diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-28 18:01:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-28 18:01:07 +0000 |
commit | 94d34da7f123be71a592f1f883a17fd3389fc803 (patch) | |
tree | 3a56ca6c2b424d37340abeb4d8c185480dac864f | |
parent | ff676aee33d4061e9d8186a15ad72c78fa1466a0 (diff) | |
download | ChibiOS-94d34da7f123be71a592f1f883a17fd3389fc803.tar.gz ChibiOS-94d34da7f123be71a592f1f883a17fd3389fc803.tar.bz2 ChibiOS-94d34da7f123be71a592f1f883a17fd3389fc803.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2849 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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) {
}
|