From 400e809f4fcf0a6f280cd6ac8ecefdcffaa1a56c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 17 Sep 2017 07:50:13 +0000 Subject: Fixed a typo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10607 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/multi/PAL/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testhal/STM32/multi/PAL/main.c') diff --git a/testhal/STM32/multi/PAL/main.c b/testhal/STM32/multi/PAL/main.c index bc1489cb2..84aba0857 100644 --- a/testhal/STM32/multi/PAL/main.c +++ b/testhal/STM32/multi/PAL/main.c @@ -74,10 +74,10 @@ int main(void) { /* Action depending on button state.*/ if (palReadLine(PORTAB_LINE_BUTTON) == PORTAB_BUTTON_PRESSED) { - palWriteLine(PORTAB_LINE_LED1, PORTAB_LEN_ON); + palWriteLine(PORTAB_LINE_LED1, PORTAB_LED_ON); } else { - palWriteLine(PORTAB_LINE_LED1, PORTAB_LEN_OFF); + palWriteLine(PORTAB_LINE_LED1, PORTAB_LED_OFF); } } } @@ -144,10 +144,10 @@ int main(void) { events = chEvtWaitOne(EVENT_MASK(0) | EVENT_MASK(1)); if (events & EVENT_MASK(0)) { - palWriteLine(PORTAB_LINE_LED1, PORTAB_LEN_ON); + palWriteLine(PORTAB_LINE_LED1, PORTAB_LED_ON); } if (events & EVENT_MASK(1)) { - palWriteLine(PORTAB_LINE_LED1, PORTAB_LEN_OFF); + palWriteLine(PORTAB_LINE_LED1, PORTAB_LED_OFF); } } } -- cgit v1.2.3