mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-27 09:59:03 +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:
@@ -129,9 +129,11 @@ POCSAGAppView::POCSAGAppView(NavigationView& nav) {
|
||||
ignore_address /= 10;
|
||||
}
|
||||
|
||||
std::string folder = "LOGS";
|
||||
make_new_directory(folder);
|
||||
logger = std::make_unique<POCSAGLogger>();
|
||||
if (logger)
|
||||
logger->append("pocsag.txt");
|
||||
logger->append("LOGS/POCSAG.TXT");
|
||||
|
||||
audio::output::start();
|
||||
audio::output::unmute();
|
||||
|
||||
Reference in New Issue
Block a user