boards: keep INA238 shunt value for Skynode

This is an attempt to keep backwards compatible with Auterion's power
monitor which uses a shunt value of 0.0003 and not 0.0005.
This commit is contained in:
Julian Oes 2025-05-01 16:27:47 +12:00
parent 5a76868cff
commit 36bfcf5ec2
2 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,8 @@ then
# Auto start power monitors
pm_selector_auterion start
# Auterion's INA238 uses a shunt value of 0.0003 instead of 0.0005.
param set-default INA238_SHUNT 0.0003
else
#FMUv5Xbase board orientation

View File

@ -59,6 +59,9 @@ fi
if ver hwbasecmp 009 010 011
then
pm_selector_auterion start
# Auterion's INA238 uses a shunt value of 0.0003 instead of 0.0005.
param set-default INA238_SHUNT 0.0003
else
if [ $INA_CONFIGURED = no ]
then