mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 22:40:23 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user