mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-18 19:28:02 -04: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:
parent
0909cdb31e
commit
bb3cb6f080
6 changed files with 35 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue