mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-02 21:09:03 +00:00
Logging Updates (#978)
* log_file ensures directory exists * Fix audio timestamp path * Fix auto inc, add subfolder for recordings * Fix auto inc and support subfolder
This commit is contained in:
@@ -98,10 +98,9 @@ ACARSAppView::ACARSAppView(NavigationView& nav) {
|
||||
logging = v;
|
||||
};
|
||||
|
||||
make_new_directory(LOG_ROOT_DIR);
|
||||
logger = std::make_unique<ACARSLogger>();
|
||||
if (logger)
|
||||
logger->append( LOG_ROOT_DIR "/ACARS.TXT" );
|
||||
logger->append(LOG_ROOT_DIR "/ACARS.TXT");
|
||||
}
|
||||
|
||||
ACARSAppView::~ACARSAppView() {
|
||||
|
||||
Reference in New Issue
Block a user