From c1ee210f58e21e48ccba4fabdf21165129ff06b5 Mon Sep 17 00:00:00 2001 From: rusEFI LLC Date: Thu, 19 Sep 2024 19:34:58 -0400 Subject: [PATCH] !isSdCardEnabled only:uaefi --- firmware/hw_layer/mmc_card.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/hw_layer/mmc_card.cpp b/firmware/hw_layer/mmc_card.cpp index a21bf6f983..fc61c86591 100644 --- a/firmware/hw_layer/mmc_card.cpp +++ b/firmware/hw_layer/mmc_card.cpp @@ -634,7 +634,7 @@ static bool isSdCardEnabled() { } void initMmcCard() { - if (isSdCardEnabled()) { + if (!isSdCardEnabled()) { // do not even bother starting the thread if SD card is not enabled & configured on start-up return; }