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:
gullradriel 2023-05-10 21:11:06 +02:00 committed by GitHub
parent 8cae998146
commit bc1ad5598c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 35 additions and 12 deletions

View file

@ -107,9 +107,11 @@ AFSKRxView::AFSKRxView(NavigationView& nav) {
nav.push<ModemSetupView>();
};
std::string folder = "LOGS";
make_new_directory(folder);
logger = std::make_unique<AFSKLogger>();
if (logger)
logger->append("AFSK_LOG.TXT");
logger->append("LOGS/AFSK.TXT");
// Auto-configure modem for LCR RX (will be removed later)
baseband::set_afsk(persistent_memory::modem_baudrate(), 8, 0, false);