Add some information about the length of time a new clock master has been monitored for ("history") and warn if the PTP information hasn't been updated for more than a second (not extensively tested).

This commit is contained in:
Mike Brady
2021-06-23 12:18:04 +01:00
parent 767bed6b9f
commit 861455f703
3 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
#include "config.h"
#include <stdint.h>
int ptp_get_clock_info(uint64_t *actual_clock_id, uint64_t *raw_offset,
int ptp_get_clock_info(uint64_t *actual_clock_id, uint64_t *time_of_sample, uint64_t *raw_offset,
uint64_t *mastership_start_time);
void ptp_send_control_message_string(const char *msg);