Skip to content

Commit 2306216

Browse files
committed
Fix spectrum frequency
1 parent ed60781 commit 2306216

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

js/flightlog_parser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ var FlightLogParser = function(logData) {
508508
case "dynThrPID":
509509
case "tpa_breakpoint":
510510
case "serialrx_provider":
511+
case "looptime":
511512
case "deadband":
512513
case "yaw_deadband":
513514
case "gyro_lpf":

js/graph_spectrum.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ function FlightLogAnalyser(flightLog, canvas, analyserCanvas) {
4848

4949
try {
5050
var sysConfig = flightLog.getSysConfig();
51-
var pidRate = (1000000 / sysConfig['looptime']).toFixed(0); //default for old logs
5251
var isFullscreen = false;
5352
var analyserZoomXElem = $("#analyserZoomX");
5453
var analyserZoomYElem = $("#analyserZoomY");

0 commit comments

Comments
 (0)