mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-03 13:31:54 +00:00
All logs to LOGS directory (#973)
* Added #define LOG_ROOT_DIR * using LOG_ROOT_DIR as root path of log
This commit is contained in:
@@ -129,9 +129,10 @@ POCSAGAppView::POCSAGAppView(NavigationView& nav) {
|
||||
ignore_address /= 10;
|
||||
}
|
||||
|
||||
make_new_directory(LOG_ROOT_DIR);
|
||||
logger = std::make_unique<POCSAGLogger>();
|
||||
if (logger)
|
||||
logger->append("pocsag.txt");
|
||||
logger->append( LOG_ROOT_DIR "/POCSAG.TXT" );
|
||||
|
||||
audio::output::start();
|
||||
audio::output::unmute();
|
||||
|
||||
Reference in New Issue
Block a user