time sync accuracy fixes
This commit is contained in:
1 parent
6aba3c128b
commit
3376a7f57e
10 files changed
+43
-28
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
#include "globals.h"
|
||||
|
||||
#define IF482_FRAME_SIZE (17)
|
||||
#define IF482_SYNC_FIXUP (3) // calibration to fixup processing time [milliseconds]
|
||||
#define IF482_SYNC_FIXUP (2) // calibration to fixup processing time [milliseconds]
|
||||
|
||||
String IRAM_ATTR IF482_Frame(time_t tt);
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#include "timekeeper.h"
|
||||
|
||||
void irqHandler(void *pvParameters);
|
||||
int mask_user_IRQ();
|
||||
int unmask_user_IRQ();
|
||||
|
||||
#ifdef HAS_DISPLAY
|
||||
#include "display.h"
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
#ifndef _TIME_SYNC_LORASERVER_H
|
||||
#define _TIME_SYNC_LORASERVER_H
|
||||
#ifndef _TIMESYNC_H
|
||||
#define _TIMESYNC_H
|
||||
|
||||
#include <chrono>
|
||||
#include "globals.h"
|
||||
#include "timesync.h"
|
||||
#include "irqhandler.h"
|
||||
#include "timekeeper.h"
|
||||
|
||||
//#define TIME_SYNC_TRIGGER 100 // threshold for time sync [milliseconds]
|
||||
|
||||
Reference in new issue
Block a user