mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-01 00:46:47 -05: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:
parent
8b395239d2
commit
a8cdde7bea
22 changed files with 132 additions and 62 deletions
|
|
@ -107,10 +107,9 @@ AFSKRxView::AFSKRxView(NavigationView& nav) {
|
|||
nav.push<ModemSetupView>();
|
||||
};
|
||||
|
||||
make_new_directory(LOG_ROOT_DIR);
|
||||
logger = std::make_unique<AFSKLogger>();
|
||||
if (logger)
|
||||
logger->append( LOG_ROOT_DIR "/AFSK.TXT" );
|
||||
logger->append(LOG_ROOT_DIR "/AFSK.TXT");
|
||||
|
||||
// Auto-configure modem for LCR RX (will be removed later)
|
||||
baseband::set_afsk(persistent_memory::modem_baudrate(), 8, 0, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue