v1.4.0 transitional support for battery count

This commit is contained in:
Lorenz Meier 2016-07-02 12:08:57 +02:00
parent 88cf8f23f6
commit 9258bb2ae8
1 changed files with 10 additions and 0 deletions

View File

@ -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
#