mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-21 06:59:02 +00:00
specific directory for screens and logs (#971)
* Changed to LOGS directory, creating if not existing. Adjusted to upper case. * Changed to SCREENSHOTS directory, creating if not existing
This commit is contained in:
@@ -194,9 +194,11 @@ TPMSAppView::TPMSAppView(NavigationView&) {
|
||||
|
||||
options_temperature.set_selected_index(0, true);
|
||||
|
||||
std::string folder = "LOGS";
|
||||
make_new_directory(folder);
|
||||
logger = std::make_unique<TPMSLogger>();
|
||||
if( logger ) {
|
||||
logger->append(u"tpms.txt");
|
||||
logger->append(u"LOGS/TMPS.TXT");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user