diff options
author | barthess <barthess@yandex.ru> | 2015-03-05 16:03:05 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2015-03-05 16:03:05 +0300 |
commit | 070bcc130cfe4904f3d57b276337b7839ed34787 (patch) | |
tree | 444d4ef66fbae89c55528d0566d211a2c7218e3b /os/hal/ports/STM32 | |
parent | 6518ddaf222ed4dcd81f7b4a53067e0c653b5f72 (diff) | |
download | ChibiOS-Contrib-070bcc130cfe4904f3d57b276337b7839ed34787.tar.gz ChibiOS-Contrib-070bcc130cfe4904f3d57b276337b7839ed34787.tar.bz2 ChibiOS-Contrib-070bcc130cfe4904f3d57b276337b7839ed34787.zip |
EICU. Added const qualifier for driver pointer in some functions
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r-- | os/hal/ports/STM32/LLD/eicu_lld.c | 6 |
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) { |