aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/st.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-08 21:19:58 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-08 21:19:58 +0000
commitce7f7103df5f634f7b57d90e115c5824adcb68a0 (patch)
tree48064ba690d7002bb8fc7b78f3f9dd76729b785c /os/hal/src/st.c
parent63bf265ddf9ad40ad981c5a145c601972b91426e (diff)
downloadChibiOS-ce7f7103df5f634f7b57d90e115c5824adcb68a0.tar.gz
ChibiOS-ce7f7103df5f634f7b57d90e115c5824adcb68a0.tar.bz2
ChibiOS-ce7f7103df5f634f7b57d90e115c5824adcb68a0.zip
MISRA fixes for high level HAL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7738 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/st.c')
-rw-r--r--os/hal/src/st.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/src/st.c b/os/hal/src/st.c
index 02bae928f..f44e8d093 100644
--- a/os/hal/src/st.c
+++ b/os/hal/src/st.c
@@ -73,15 +73,15 @@ void stInit(void) {
* @note This functionality is only available in free running mode, the
* behavior in periodic mode is undefined.
*
- * @param[in] time the time to be set for the first alarm
+ * @param[in] abstime the time to be set for the first alarm
*
* @api
*/
-void stStartAlarm(systime_t time) {
+void stStartAlarm(systime_t abstime) {
osalDbgAssert(stIsAlarmActive() == false, "already active");
- st_lld_start_alarm(time);
+ st_lld_start_alarm(abstime);
}
/**
@@ -101,15 +101,15 @@ void stStopAlarm(void) {
* @note This functionality is only available in free running mode, the
* behavior in periodic mode is undefined.
*
- * @param[in] time the time to be set for the next alarm
+ * @param[in] abstime the time to be set for the next alarm
*
* @api
*/
-void stSetAlarm(systime_t time) {
+void stSetAlarm(systime_t abstime) {
osalDbgAssert(stIsAlarmActive() != false, "not active");
- st_lld_set_alarm(time);
+ st_lld_set_alarm(abstime);
}
/**