This commit is contained in:
Lubos Petrovic
2020-11-27 12:04:38 +01:00
parent 38a3d6bea6
commit 22b1dfe2fc
2 changed files with 4 additions and 4 deletions

View File

@@ -1885,7 +1885,7 @@ void setup(void) {
redrawScreen(); redrawScreen();
// Init SDCARD // Init SDCARD
if (!SD.begin(SDCARD_CS, SDCARD_MOSI, SDCARD_MISO, SDCARD_SCK)) { /*if (!SD.begin(SDCARD_CS, SDCARD_MOSI, SDCARD_MISO, SDCARD_SCK)) {
Serial.println("Card Mount Failed"); Serial.println("Card Mount Failed");
} }
uint8_t cardType = SD.cardType(); uint8_t cardType = SD.cardType();
@@ -1905,7 +1905,7 @@ void setup(void) {
uint64_t cardSize = SD.cardSize() / (1024 * 1024); uint64_t cardSize = SD.cardSize() / (1024 * 1024);
Serial.printf("SD Card Size: %lluMB\n", cardSize); Serial.printf("SD Card Size: %lluMB\n", cardSize);
*/
// Init time library // Init time library
struct timeval tv; struct timeval tv;
tv.tv_sec = 1589011873; tv.tv_sec = 1589011873;

4
menu.h
View File

@@ -41,8 +41,8 @@ MENU_ITEM menuItems[menuItemsCount] = {
{303, 3, -1, "Debug screen off/on"}, {303, 3, -1, "Debug screen off/on"},
{304, 3, -1, "LCD brightness"}, {304, 3, -1, "LCD brightness"},
{305, 3, -1, "Pre-drawn ch.graphs 0/1"}, {305, 3, -1, "Pre-drawn ch.graphs 0/1"},
{306, 3, -1, "WiFi network"}, {306, 3, -1, "[DEV] WiFi network"},
{307, 3, -1, "SD card"}, {307, 3, -1, "[DEV] SD card"},
{400, 4, 0, "<- parent menu"}, {400, 4, 0, "<- parent menu"},
{401, 4, -1, "Distance"}, {401, 4, -1, "Distance"},