From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 09:30:07 +0000 (+0000) Subject: test(bkgpslog):Fix debug msgs X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/3acde8dbe2a834bf74dc749044810b3a67ea6cc8?ds=inline;hp=7970872b7d63986ed6cb55837e99296c466e848f test(bkgpslog):Fix debug msgs --- 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