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:
Beat Küng 2020-10-16 15:11:10 +02:00 committed by Daniel Agar
parent 977479c370
commit 5faf8bd52c
1 changed files with 2 additions and 1 deletions

View File

@ -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]