mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
battery: disable secondary module by default
Avoid a GCS showing 2 battery indicators. Alternatively we could also check the 'connected' flag, but this is more explicit.
This commit is contained in:
@@ -133,10 +133,11 @@ parameters:
|
||||
This requires the ESC to provide both voltage as well as current.
|
||||
type: enum
|
||||
values:
|
||||
-1: Disabled
|
||||
0: Power Module
|
||||
1: External
|
||||
2: ESCs
|
||||
reboot_required: true
|
||||
num_instances: *max_num_config_instances
|
||||
instance_start: 1
|
||||
default: [0, 0]
|
||||
default: [0, -1]
|
||||
|
||||
Reference in New Issue
Block a user