From 0e31af190601548f3ba2c6aadf5078e6759b6e19 Mon Sep 17 00:00:00 2001 From: KonradIT Date: Tue, 10 Dec 2024 13:34:38 +0100 Subject: [PATCH] use DISABLE_SDCARD to skip sd card functionality --- lib/loraboards/LoRaBoards.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/loraboards/LoRaBoards.cpp b/lib/loraboards/LoRaBoards.cpp index 5afdb70..3689a93 100644 --- a/lib/loraboards/LoRaBoards.cpp +++ b/lib/loraboards/LoRaBoards.cpp @@ -706,11 +706,14 @@ void setupBoards(bool disable_u8g2) beginPower(); bool sdReady; + +#ifndef DISABLE_SDCARD for (int i = 0; i < 5 && !(sdReady = beginSDCard()); i++) { Serial.println("SD card failed or not found"); delay(1000); } +#endif if (sdReady) {