From bdada7a07e4bb85a725498534ed395d033f328f4 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 19 Sep 2017 09:27:46 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10637 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/NIL-STM32F303-DISCOVERY/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/STM32/NIL-STM32F303-DISCOVERY') diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/main.c b/demos/STM32/NIL-STM32F303-DISCOVERY/main.c index 2e667c9f4..0916158c1 100644 --- a/demos/STM32/NIL-STM32F303-DISCOVERY/main.c +++ b/demos/STM32/NIL-STM32F303-DISCOVERY/main.c @@ -95,7 +95,7 @@ THD_FUNCTION(Thread3, arg) { /* Waiting for button push and activation of the test suite.*/ while (true) { - if (palReadPad(GPIOA, GPIOA_BUTTON)) + if (palReadLine(LINE_BUTTON)) test_execute((BaseSequentialStream *)&SD1); chThdSleepMilliseconds(500); } -- cgit v1.2.3