aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2015-03-05 16:03:05 +0300
committerbarthess <barthess@yandex.ru>2015-03-05 16:03:05 +0300
commit070bcc130cfe4904f3d57b276337b7839ed34787 (patch)
tree444d4ef66fbae89c55528d0566d211a2c7218e3b /os/hal/ports/STM32
parent6518ddaf222ed4dcd81f7b4a53067e0c653b5f72 (diff)
downloadChibiOS-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.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) {