mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-02 20:31:46 +00:00
Push packet timestamping earlier in packet handling.
Ideally, it'd get pushed back into baseband, and baseband would correct for the length of the packet (based on preamble/access code match timestamp minus preamble/access code duration) to give the exact time the packet started.
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
|
||||
#include "ff.h"
|
||||
|
||||
#include "lpc43xx_cpp.hpp"
|
||||
using namespace lpc43xx;
|
||||
|
||||
class LogFile {
|
||||
public:
|
||||
~LogFile();
|
||||
@@ -34,7 +37,7 @@ public:
|
||||
bool close();
|
||||
bool is_ready();
|
||||
|
||||
bool write_entry(const std::string entry);
|
||||
bool write_entry(const rtc::RTC& datetime, const std::string entry);
|
||||
|
||||
private:
|
||||
FIL f;
|
||||
|
||||
Reference in New Issue
Block a user