aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/boards/ST_STM32F769I_DISCOVERY/board.c')
-rw-r--r--os/hal/boards/ST_STM32F769I_DISCOVERY/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c
index 9e8d10bc1..0cb83cd61 100644
--- a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c
+++ b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c
@@ -88,7 +88,7 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
(void)sdcp;
- return !palReadPad(GPIOC, GPIOC_SD_DETECT);
+ return !palReadLine(LINE_SD_DETECT);
}
/**