Skip to content

Commit 4dbeadc

Browse files
authored
Add FLASH_TEST_PRBS debug mode (#4606)
1 parent 04d4255 commit 4dbeadc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/js/debug.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,13 @@ const DEBUG = {
788788
"debug[all]": "Chirp",
789789
"debug[0]": "Chirp sinarg",
790790
},
791+
FLASH_TEST_PRBS: {
792+
"debug[all]": "Flash Test PRBS",
793+
"debug[0]": "State",
794+
"debug[1]": "Flash Length",
795+
"debug[6]": "FlashLength / Pagesize",
796+
"debug[7]": "Errors",
797+
},
791798
},
792799

793800
enableFields: [
@@ -829,6 +836,7 @@ function update() {
829836
addArrayElementAfter(DEBUG.modes, "RANGEFINDER_QUALITY", "OPTICALFLOW");
830837
addArrayElement(DEBUG.modes, "AUTOPILOT_POSITION");
831838
addArrayElement(DEBUG.modes, "CHIRP");
839+
addArrayElement(DEBUG.modes, "FLASH_TEST_PRBS");
832840
replaceArrayElement(DEBUG.modes, "DUAL_GYRO_RAW", "MULTI_GYRO_RAW");
833841
replaceArrayElement(DEBUG.modes, "DUAL_GYRO_DIFF", "MULTI_GYRO_DIFF");
834842
replaceArrayElement(DEBUG.modes, "DUAL_GYRO_SCALED", "MULTI_GYRO_SCALED");

0 commit comments

Comments
 (0)