aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r--os/hal/ports/STM32/LLD/eicu_lld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/LLD/eicu_lld.c b/os/hal/ports/STM32/LLD/eicu_lld.c
index 415a649..7895cba 100644
--- a/os/hal/ports/STM32/LLD/eicu_lld.c
+++ b/os/hal/ports/STM32/LLD/eicu_lld.c
@@ -138,7 +138,7 @@ EICUDriver EICUD12;
*
* @notapi
*/
-static eicuresult_t get_time_both(EICUDriver *eicup,
+static eicuresult_t get_time_both(const EICUDriver *eicup,
eicuchannel_t channel,
eicucnt_t compare) {
@@ -183,7 +183,7 @@ static eicuresult_t get_time_both(EICUDriver *eicup,
*
* @notapi
*/
-static eicucnt_t get_time_width(EICUDriver *eicup,
+static eicucnt_t get_time_width(const EICUDriver *eicup,
eicuchannel_t channel,
eicucnt_t compare) {
@@ -221,7 +221,7 @@ static eicucnt_t get_time_width(EICUDriver *eicup,
*
* @notapi
*/
-static eicucnt_t get_time_period(EICUDriver *eicup,
+static eicucnt_t get_time_period(const EICUDriver *eicup,
eicuchannel_t channel,
eicucnt_t compare) {