aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 10:32:43 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 10:32:43 +0000
commitdc5964f59f591bffdbe875cea33b419000cd3568 (patch)
tree5a51f5891342c2c76469962d739d3724fbd9e1a5 /demos/STM32/RT-STM32F746G-DISCOVERY/main.c
parentcf204e72ea5fd6e4be8b3295cb148fde5fdd47d2 (diff)
downloadChibiOS-dc5964f59f591bffdbe875cea33b419000cd3568.tar.gz
ChibiOS-dc5964f59f591bffdbe875cea33b419000cd3568.tar.bz2
ChibiOS-dc5964f59f591bffdbe875cea33b419000cd3568.zip
RT4 and NIL2 merged. All demos and test applications to be updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8901 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F746G-DISCOVERY/main.c')
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
index eea6da024..9598a834b 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
@@ -71,7 +71,7 @@ int main(void) {
* sleeping in a loop and check the button state.
*/
while (true) {
- if (palReadPad(GPIOI, GPIOI_BUTTON_USER))
+ if (palReadLine(LINE_BUTTON_USER))
TestThread(&SD1);
chThdSleepMilliseconds(500);
}