mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
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:
committed by
Daniel Agar
parent
3a004ffd68
commit
991c07eef9
@@ -153,8 +153,12 @@ PARAM_DEFINE_INT32(CBRK_BUZZER, 0);
|
|||||||
* Circuit breaker for USB link check
|
* Circuit breaker for USB link check
|
||||||
*
|
*
|
||||||
* Setting this parameter to 197848 will disable the USB connected
|
* Setting this parameter to 197848 will disable the USB connected
|
||||||
* checks in the commander.
|
* checks in the commander, setting it to 0 keeps them enabled (recommended).
|
||||||
* WARNING: ENABLING THIS CIRCUIT BREAKER IS AT OWN RISK
|
*
|
||||||
|
* 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
|
* @reboot_required true
|
||||||
* @min 0
|
* @min 0
|
||||||
@@ -162,7 +166,7 @@ PARAM_DEFINE_INT32(CBRK_BUZZER, 0);
|
|||||||
* @category Developer
|
* @category Developer
|
||||||
* @group Circuit Breaker
|
* @group Circuit Breaker
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(CBRK_USB_CHK, 0);
|
PARAM_DEFINE_INT32(CBRK_USB_CHK, 197848);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Circuit breaker for position error check
|
* Circuit breaker for position error check
|
||||||
|
|||||||
Reference in New Issue
Block a user