mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-11-16 07:53:53 +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:
@@ -98,9 +98,11 @@ ACARSAppView::ACARSAppView(NavigationView& nav) {
|
||||
logging = v;
|
||||
};
|
||||
|
||||
std::string folder = "LOGS";
|
||||
make_new_directory(folder);
|
||||
logger = std::make_unique<ACARSLogger>();
|
||||
if (logger)
|
||||
logger->append("acars.txt");
|
||||
logger->append("LOGS/ACARS.TXT");
|
||||
}
|
||||
|
||||
ACARSAppView::~ACARSAppView() {
|
||||
|
||||
Reference in New Issue
Block a user