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:
gullradriel 2023-05-11 21:56:24 +02:00 committed by GitHub
parent 1edd3716a1
commit 69927e3c2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 24 additions and 11 deletions

View file

@ -141,9 +141,10 @@ APRSRxView::APRSRxView(NavigationView& nav, Rect parent_rect) : View(parent_rect
options_region.set_selected_index(0, true);
make_new_directory(LOG_ROOT_DIR);
logger = std::make_unique<APRSLogger>();
if (logger)
logger->append("APRS_RX_LOG.TXT");
logger->append( LOG_ROOT_DIR "/APRS.TXT" );
baseband::set_aprs(1200);