aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/RT-Win32-TriBuf/main.c
diff options
context:
space:
mode:
authorwalkerstop <walkerstop@gmail.com>2018-05-01 01:00:33 -0700
committerGitHub <noreply@github.com>2018-05-01 01:00:33 -0700
commit40db44f540436398e0840544044154d13eee63b6 (patch)
treedad3f1f3b6ac3927484ee22002a947662a8a0173 /demos/various/RT-Win32-TriBuf/main.c
parent4e9f077fb10255dced1da4d5d2ad9f8ae41442a2 (diff)
parentd4d384557df0e8e7a8071553448b0c42849f98c0 (diff)
downloadChibiOS-Contrib-40db44f540436398e0840544044154d13eee63b6.tar.gz
ChibiOS-Contrib-40db44f540436398e0840544044154d13eee63b6.tar.bz2
ChibiOS-Contrib-40db44f540436398e0840544044154d13eee63b6.zip
Merge branch 'master' into master
Diffstat (limited to 'demos/various/RT-Win32-TriBuf/main.c')
-rw-r--r--demos/various/RT-Win32-TriBuf/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/various/RT-Win32-TriBuf/main.c b/demos/various/RT-Win32-TriBuf/main.c
index bab25cd..e2b2265 100644
--- a/demos/various/RT-Win32-TriBuf/main.c
+++ b/demos/various/RT-Win32-TriBuf/main.c
@@ -51,7 +51,7 @@ static char read_front(void) {
msg_t error;
/* Wait until a new front buffer gets available with prepared data */
- error = tribufWaitReadyTimeout(&tribuf, MS2ST(1000));
+ error = tribufWaitReadyTimeout(&tribuf, TIME_MS2I(1000));
if (error == MSG_TIMEOUT)
chSysHalt("ERROR: read_front() timed out");