v2.0: Full localization (6 languages), first-run language screen, aircraft detail overhaul, aircraft-model API fallback, and multiple bugfixes
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "screenshot.h"
|
||||
#include "config.h"
|
||||
#include "sd_mutex.h"
|
||||
#include <SD.h>
|
||||
#include <time.h>
|
||||
|
||||
@@ -15,6 +16,8 @@ namespace {
|
||||
}
|
||||
|
||||
String save(TFT_eSPI& tft) {
|
||||
SdMutex::Guard guard;
|
||||
|
||||
if (!SD.exists(Config::SD_SCREENSHOT_DIR)) {
|
||||
SD.mkdir(Config::SD_SCREENSHOT_DIR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user