Skip to content

Commit

Permalink
v1.4.0 transitional support for battery count
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Jul 2, 2016
1 parent 88cf8f2 commit 9258bb2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ROMFS/px4fmu_common/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,16 @@ then
set AUTOCNF yes
else
set AUTOCNF no

#
# Release 1.4.0 transitional support:
# set to old default if unconfigured.
# this preserves the previous behaviour
#
if param compare BAT_N_CELLS 0
then
param set BAT_N_CELLS 3
fi
fi

#
Expand Down

0 comments on commit 9258bb2

Please sign in to comment.