aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/osal/osal.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-02-10 11:25:29 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-02-10 11:25:29 +0000
commitff109ac9e64f0f107a21343cd82d603b04c35aaf (patch)
treee30c50c051bf1887c301cacdb9056af6c9bee966 /os/hal/templates/osal/osal.c
parent87bae60d9dc02e8d415f490acf416e6207c86f4b (diff)
downloadChibiOS-ff109ac9e64f0f107a21343cd82d603b04c35aaf.tar.gz
ChibiOS-ff109ac9e64f0f107a21343cd82d603b04c35aaf.tar.bz2
ChibiOS-ff109ac9e64f0f107a21343cd82d603b04c35aaf.zip
MISRA-related changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11473 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/osal/osal.c')
-rw-r--r--os/hal/templates/osal/osal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/templates/osal/osal.c b/os/hal/templates/osal/osal.c
index e83ebcabd..5ec0bae59 100644
--- a/os/hal/templates/osal/osal.c
+++ b/os/hal/templates/osal/osal.c
@@ -150,7 +150,7 @@ systime_t osalOsGetSystemTimeX(void) {
*
* @sclass
*/
-void osalThreadSleepS(systime_t time) {
+void osalThreadSleepS(sysinterval_t time) {
(void)time;
}
@@ -167,7 +167,7 @@ void osalThreadSleepS(systime_t time) {
*
* @api
*/
-void osalThreadSleep(systime_t time) {
+void osalThreadSleep(sysinterval_t time) {
(void)time;
}
@@ -208,7 +208,7 @@ msg_t osalThreadSuspendS(thread_reference_t *trp) {
*
* @sclass
*/
-msg_t osalThreadSuspendTimeoutS(thread_reference_t *trp, systime_t timeout) {
+msg_t osalThreadSuspendTimeoutS(thread_reference_t *trp, sysinterval_t timeout) {
osalDbgCheck(trp != NULL);
@@ -274,7 +274,7 @@ void osalThreadResumeS(thread_reference_t *trp, msg_t msg) {
*
* @sclass
*/
-msg_t osalThreadEnqueueTimeoutS(threads_queue_t *tqp, systime_t timeout) {
+msg_t osalThreadEnqueueTimeoutS(threads_queue_t *tqp, sysinterval_t timeout) {
osalDbgCheck(tqp != NULL);