diff options
Diffstat (limited to 'os/hal/boards/ST_STM32F769I_DISCOVERY/board.c')
-rw-r--r-- | os/hal/boards/ST_STM32F769I_DISCOVERY/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c index 94ec0b449..f371e03ca 100644 --- a/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c +++ b/os/hal/boards/ST_STM32F769I_DISCOVERY/board.c @@ -218,9 +218,9 @@ void __early_init(void) { * @brief SDC card detection.
*/
bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
-
- (void)sdcp;
-
+ + (void)sdcp; + return !palReadLine(LINE_SD_DETECT);
}
|