From 329dc7f47bdd513793167e7f0be6f2295736c972 Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Fri, 7 Apr 2023 11:09:30 -0400 Subject: [PATCH] Update sys_stats.js --- backend/sys_stats.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/sys_stats.js b/backend/sys_stats.js index 5710617..995ef48 100644 --- a/backend/sys_stats.js +++ b/backend/sys_stats.js @@ -156,8 +156,8 @@ exports.addCall = function(call) { sysErrors[call.freq].errorHistory = new Array(); sysErrors[call.freq].spikeHistory = new Array(); for (var j = 0; j < spots; j++) { - sysErrors[call.freq].errors[j] = 0; - sysErrors[call.freq].spikes [j] = 0; + sysErrors[call.freq].errorHistory[j] = 0; + sysErrors[call.freq].spikeHistory[j] = 0; } } // add to the call count and total length, Call Average is calc by dividing the two...