Add edge clock sync diagnostics

This commit is contained in:
mikecarper committed 2026-07-23 10:40:45 -07:00
1 parent 836af4b623
commit 6c99ae39a9
6 files changed
+274 -76

No files matched your search

+7
View File
@@ -4,6 +4,13 @@
namespace mesh {
static constexpr uint8_t CLOCK_SYNC_SAMPLE_SOURCE_SIGNED_ADVERT = 1;
static constexpr uint8_t CLOCK_SYNC_SAMPLE_SOURCE_PUBLIC_CHANNEL = 2;
inline bool clockSyncRequiresUniquePath(bool edge_mode) {
return !edge_mode;
}
struct ClockSyncConsensusResult {
bool consensus;
uint8_t fresh_count;