From 3acde8dbe2a834bf74dc749044810b3a67ea6cc8 Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 09:30:07 +0000 Subject: [PATCH 1/1] test(bkgpslog):Fix debug msgs --- exec/bkgpslog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/bkgpslog b/exec/bkgpslog index bf21dfc..69ca426 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -975,11 +975,11 @@ magicBufferSleepPID() { # for value in "${errorHistory[@]}"; do # errReset=$(( errReset + ( value*BUFFER_TTL_NS ) )); # done; - errReset="$(( (errReset + (errNS*BUFFER_TTL_NS)) ))" && vbm "errResetTerm:$errResetTerm"; + errReset="$(( (errReset + (errNS*BUFFER_TTL_NS)) ))" && vbm "errReset:$errReset"; # errResetx10e3="$(( ( errResetx10e3 + ( errNSx10e3 * BUFFER_TTL_NS ) )*10**3 ))" && vbm "errResetx10e3:$errResetx10e3"; # Calculate errRate in nanoseconds per nanosecond - errRate="$(( errNS / BUFFER_TTL_NS ))" && vbm "errRateTerm:$errRateTerm"; + errRate="$(( errNS / BUFFER_TTL_NS ))" && vbm "errRate:$errRate"; # errRatex10e3="$(( ( errNSx10e3 ) / BUFFER_TTL_NS ))" && vbm "errRatex10e3:$errRatex10e3"; # Calculate PID control signal -- 2.30.2