mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 17:25:16 +03:00
Prevent runtime errors
This commit is contained in:
parent
24cbe751a4
commit
b793fe4fd6
1 changed files with 2 additions and 2 deletions
|
@ -1162,8 +1162,8 @@ window.MSPDebug = {
|
||||||
|
|
||||||
// Individual test methods
|
// Individual test methods
|
||||||
runTest: (testName) => mspStressTest.runSpecificTest(testName),
|
runTest: (testName) => mspStressTest.runSpecificTest(testName),
|
||||||
quickHealthCheck: () => window.MSPTestRunner.quickHealthCheck(),
|
quickHealthCheck: () => window.MSPTestRunner?.quickHealthCheck?.(),
|
||||||
stressScenario: (scenario) => window.MSPTestRunner.stressScenario(scenario),
|
stressScenario: (scenario) => window.MSPTestRunner?.stressScenario?.(scenario),
|
||||||
getStatus: () => mspQueueMonitor.getStatus(),
|
getStatus: () => mspQueueMonitor.getStatus(),
|
||||||
|
|
||||||
// Alert testing methods
|
// Alert testing methods
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue