This commit is contained in:
rusefillc 2020-11-17 08:25:50 -05:00
parent f9ae075ac6
commit 4d89095890
1 changed files with 5 additions and 0 deletions

View File

@ -51,6 +51,11 @@ static int writeCounter = 0;
static int totalWritesCounter = 0;
static int totalSyncCounter = 0;
/**
* on't re-read SD card spi device after boot - it could change mid transaction (TS thread could preempt),
* which will cause disaster (usually multiple-unlock of the same mutex in UNLOCK_SD_SPI)
*/
spi_device_e mmcSpiDevice = SPI_NONE;
#define LOG_INDEX_FILENAME "index.txt"