battery: allow battery internal resistance and capacity to change dynamically

- this is required to support use cases where N numbers of batteries are connected
in parallel and detected by the system and N is not known beforehand

Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
RomanBapst 2023-10-06 17:39:02 +03:00
parent 839ba751cc
commit 9b0873f528
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ parameters:
max: 0.2
decimal: 4
increment: 0.0005
reboot_required: true
reboot_required: false
num_instances: *max_num_config_instances
instance_start: 1
default: [0.005, 0.005]
@ -119,7 +119,7 @@ parameters:
max: 100000
decimal: 0
increment: 50
reboot_required: true
reboot_required: false
num_instances: *max_num_config_instances
instance_start: 1
default: [-1.0, -1.0]