diff options
Diffstat (limited to 'testhal/ATSAMA5D2/SPI/main.c')
-rw-r--r-- | testhal/ATSAMA5D2/SPI/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/ATSAMA5D2/SPI/main.c b/testhal/ATSAMA5D2/SPI/main.c index e4d5d55cf..f2c61f0d8 100644 --- a/testhal/ATSAMA5D2/SPI/main.c +++ b/testhal/ATSAMA5D2/SPI/main.c @@ -41,7 +41,7 @@ static void rxend(SPIDriver *spip) { palClearLine(LINE_LED_RED);
chSysLockFromISR();
chVTResetI(&vt3);
- chVTSetI(&vt3, MS2ST(200), led3off, NULL);
+ chVTSetI(&vt3, TIME_MS2I(200), led3off, NULL);
chSysUnlockFromISR();
}
|