mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 23:47:45 +00:00
Declare all folder names in a single source file (#2039)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "baseband_api.hpp"
|
||||
#include "string_format.hpp"
|
||||
#include "portapack_persistent_memory.hpp"
|
||||
#include "file_path.hpp"
|
||||
|
||||
using namespace portapack;
|
||||
using namespace modems;
|
||||
@@ -84,7 +85,7 @@ AFSKRxView::AFSKRxView(NavigationView& nav)
|
||||
|
||||
logger = std::make_unique<AFSKLogger>();
|
||||
if (logger)
|
||||
logger->append(LOG_ROOT_DIR "/AFSK.TXT");
|
||||
logger->append(logs_dir / u"AFSK.TXT");
|
||||
|
||||
// Auto-configure modem for LCR RX (will be removed later)
|
||||
baseband::set_afsk(persistent_memory::modem_baudrate(), 8, 0, false);
|
||||
|
@@ -40,7 +40,7 @@ namespace ui::external_app::afsk_rx {
|
||||
|
||||
class AFSKLogger {
|
||||
public:
|
||||
Optional<File::Error> append(const std::string& filename) {
|
||||
Optional<File::Error> append(const std::filesystem::path& filename) {
|
||||
return log_file.append(filename);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user