diff options
author | edolomb <none@example.com> | 2017-11-07 16:47:23 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2017-11-07 16:47:23 +0000 |
commit | bca3b0c0c61aa4c3cfb07bbd11f5a71f35f73813 (patch) | |
tree | 7870b31183dd6a752883a19c2619ecf792b6fab4 /testhal/ATSAMA5D2/UART | |
parent | ca3793469cc9e7d62007474daa74cada283a31e1 (diff) | |
download | ChibiOS-bca3b0c0c61aa4c3cfb07bbd11f5a71f35f73813.tar.gz ChibiOS-bca3b0c0c61aa4c3cfb07bbd11f5a71f35f73813.tar.bz2 ChibiOS-bca3b0c0c61aa4c3cfb07bbd11f5a71f35f73813.zip |
Updated MS2ST to TIME_MS2I
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10969 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/ATSAMA5D2/UART')
-rw-r--r-- | testhal/ATSAMA5D2/UART/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testhal/ATSAMA5D2/UART/main.c b/testhal/ATSAMA5D2/UART/main.c index b77c2cbbb..3381bc6b2 100644 --- a/testhal/ATSAMA5D2/UART/main.c +++ b/testhal/ATSAMA5D2/UART/main.c @@ -59,7 +59,7 @@ static void txend2(UARTDriver *uartp) { palClearLine(LINE_LED_BLUE);
chSysLockFromISR();
chVTResetI(&vt5);
- chVTSetI(&vt5, MS2ST(200), led5off, NULL);
+ chVTSetI(&vt5, TIME_MS2I(200), led5off, NULL);
chSysUnlockFromISR();
}
@@ -85,7 +85,7 @@ static void rxchar(UARTDriver *uartp, uint16_t c) { palClearLine(LINE_LED_GREEN);
chSysLockFromISR();
chVTResetI(&vt4);
- chVTSetI(&vt4, MS2ST(200), led4off, NULL);
+ chVTSetI(&vt4, TIME_MS2I(200), led4off, NULL);
chSysUnlockFromISR();
}
@@ -99,7 +99,7 @@ static void rxend(UARTDriver *uartp) { palClearLine(LINE_LED_RED);
chSysLockFromISR();
chVTResetI(&vt3);
- chVTSetI(&vt3, MS2ST(200), led3off, NULL);
+ chVTSetI(&vt3, TIME_MS2I(200), led3off, NULL);
chSysUnlockFromISR();
}
|