Global: Allow users to arm with USB

This change reflects the medium-term experience with users using USB as data link or power source in R&D setups. While we still discourage this for volume products, not allowing it seems like a major hurdle and blocker in R&D setups.
This commit is contained in:
Lorenz Meier 2021-04-12 17:46:49 +02:00 committed by Daniel Agar
parent 3a004ffd68
commit 991c07eef9
1 changed files with 7 additions and 3 deletions

View File

@ -153,8 +153,12 @@ PARAM_DEFINE_INT32(CBRK_BUZZER, 0);
* Circuit breaker for USB link check
*
* Setting this parameter to 197848 will disable the USB connected
* checks in the commander.
* WARNING: ENABLING THIS CIRCUIT BREAKER IS AT OWN RISK
* checks in the commander, setting it to 0 keeps them enabled (recommended).
*
* We are generally recommending to not fly with the USB link
* connected and production vehicles should set this parameter to
* zero to prevent users from flying USB powered. However, for R&D purposes
* it has proven over the years to work just fine.
*
* @reboot_required true
* @min 0
@ -162,7 +166,7 @@ PARAM_DEFINE_INT32(CBRK_BUZZER, 0);
* @category Developer
* @group Circuit Breaker
*/
PARAM_DEFINE_INT32(CBRK_USB_CHK, 0);
PARAM_DEFINE_INT32(CBRK_USB_CHK, 197848);
/**
* Circuit breaker for position error check