mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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:
parent
5a76868cff
commit
36bfcf5ec2
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user