mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-19 07:42:15 +00:00
Modify LogFile to open/close file on SD card status.
Previously, would only open on construction, which was only when the receiver mode changed, which wasn't all that useful.
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
ManchesterFormatted on_packet(const TPMSPacketMessage& message);
|
||||
|
||||
private:
|
||||
LogFile log_file;
|
||||
LogFile log_file { "tpms.txt" };
|
||||
};
|
||||
|
||||
namespace ui {
|
||||
|
Reference in New Issue
Block a user