Skip to content

Commit bd14f22

Browse files
authored
Add CHIRP debug mode (#4340)
Add CHIRP debug
1 parent 7bb5479 commit bd14f22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/js/debug.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,10 @@ const DEBUG = {
783783
"debug[4]": "Current Setpoint [yaw]",
784784
"debug[5]": "Adjusted Setpoint [yaw]",
785785
},
786+
CHIRP: {
787+
"debug[all]": "Chirp",
788+
"debug[0]": "Chirp sinarg",
789+
},
786790
},
787791

788792
enableFields: [
@@ -823,6 +827,7 @@ function update() {
823827
DEBUG.modes.splice(DEBUG.modes.indexOf("GYRO_SCALED"), 1);
824828
DEBUG.modes.splice(DEBUG.modes.indexOf("RANGEFINDER_QUALITY") + 1, 0, "OPTICALFLOW");
825829
DEBUG.modes.push("AUTOPILOT_POSITION");
830+
DEBUG.modes.push("CHIRP");
826831
delete DEBUG.fieldNames.GPS_RESCUE_THROTTLE_PID;
827832
delete DEBUG.fieldNames.GYRO_SCALED;
828833

0 commit comments

Comments
 (0)