mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-08-09 18:33:18 +02:00
use DISABLE_SDCARD to skip sd card functionality
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user