aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F746G-DISCOVERY/main.c
diff options
context:
space:
mode:
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);
}