diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-19 09:27:46 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-19 09:27:46 +0000 |
commit | bdada7a07e4bb85a725498534ed395d033f328f4 (patch) | |
tree | 85b69342f113befade4d89e17055c3c5176a652a /demos/STM32/NIL-STM32F303-DISCOVERY | |
parent | ddd5260f0c2111e1e797c647da869ae8d2fe2158 (diff) | |
download | ChibiOS-bdada7a07e4bb85a725498534ed395d033f328f4.tar.gz ChibiOS-bdada7a07e4bb85a725498534ed395d033f328f4.tar.bz2 ChibiOS-bdada7a07e4bb85a725498534ed395d033f328f4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10637 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/NIL-STM32F303-DISCOVERY')
-rw-r--r-- | demos/STM32/NIL-STM32F303-DISCOVERY/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|