ardupilot/libraries/AP_Param
Andrew Tridgell 26b7de668a AP_Param: fixed parameter save bug
This bug affected parameters where the defaults are overridden in the
object constructor. For example, a PID object may have a default value
for PID_D of 0.0, but have a constructor based default of 0.2. If the
user tries to set the value to exactly 0.0, then the set wouldn't happen,
as the value matches the value in the object default var_info[]
table. 

This change ensures we force a save to eeprom if the value is changing
from the current value, regardless of the var_info[] default.

Thanks to Tom Coyle for finding this bug!
2013-06-02 14:49:34 +10:00
..
tools AP_Param: use PACKED attribute in examples 2013-05-09 20:10:31 +10:00
AP_Param.cpp AP_Param: fixed parameter save bug 2013-06-02 14:49:34 +10:00
AP_Param.h AP_Param: fixed parameter save bug 2013-06-02 14:49:34 +10:00