mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 00:03:33 +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
|
# Auto start power monitors
|
||||||
pm_selector_auterion start
|
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
|
else
|
||||||
#FMUv5Xbase board orientation
|
#FMUv5Xbase board orientation
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,9 @@ fi
|
|||||||
if ver hwbasecmp 009 010 011
|
if ver hwbasecmp 009 010 011
|
||||||
then
|
then
|
||||||
pm_selector_auterion start
|
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
|
else
|
||||||
if [ $INA_CONFIGURED = no ]
|
if [ $INA_CONFIGURED = no ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user