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),