From bca3b0c0c61aa4c3cfb07bbd11f5a71f35f73813 Mon Sep 17 00:00:00 2001 From: edolomb Date: Tue, 7 Nov 2017 16:47:23 +0000 Subject: Updated MS2ST to TIME_MS2I git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10969 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/ATSAMA5D2/UART/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testhal/ATSAMA5D2/UART/main.c') 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(); } -- cgit v1.2.3