aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/PAL/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/multi/PAL/main.c')
-rw-r--r--testhal/STM32/multi/PAL/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/multi/PAL/main.c b/testhal/STM32/multi/PAL/main.c
index 5c1660c50..46a714dd2 100644
--- a/testhal/STM32/multi/PAL/main.c
+++ b/testhal/STM32/multi/PAL/main.c
@@ -96,10 +96,10 @@ int main(void) {
events = chEvtWaitOne(EVENT_MASK(0) | EVENT_MASK(1));
if (events & EVENT_MASK(0)) {
- palSetLine(PORTAB_LINE_LED1);
+ palWriteLine(PORTAB_LINE_LED1, PORTAB_LEN_ON);
}
if (events & EVENT_MASK(1)) {
- palClearLine(PORTAB_LINE_LED1);
+ palWriteLine(PORTAB_LINE_LED1, PORTAB_LEN_OFF);
}
}
}