From fc6434c66cc3abe4bd0a5eee9ac5f10bb370efba Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 20 Jul 2021 13:37:19 +0200 Subject: [PATCH] pps_ts: re-add missing variable --- lib/hooks/pps_ts.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/hooks/pps_ts.cpp b/lib/hooks/pps_ts.cpp index 423320a01..d5e4fcdc0 100644 --- a/lib/hooks/pps_ts.cpp +++ b/lib/hooks/pps_ts.cpp @@ -42,6 +42,8 @@ protected: HORIZON, } mode; + uint64_t lastSequence; + double lastValue; double threshold; @@ -63,6 +65,7 @@ public: PpsTsHook(struct vpath *p, struct vnode *n, int fl, int prio, bool en = true) : SingleSignalHook(p, n, fl, prio, en), mode(Mode::SIMPLE), + lastSequence(0), lastValue(0), threshold(1.5), isSynced(false),