Based on explaining AP_VarNoAddress to Doug, improve the description of the value.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1491 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
DrZiplok 2011-01-12 02:43:25 +00:00
parent 8423ab6364
commit aaf125e441

View File

@ -48,9 +48,13 @@ public:
typedef uint16_t AP_VarAddress;
/// An address value that indicates that a variable is not to be saved to EEPROM.
///
/// As the value has all bits set to 1, it's not a legal EEPROM address for any
/// EEPROM smaller than 64K.
///
/// This value is normally the default.
///
static const AP_VarAddress AP_VarNoAddress = !(AP_VarAddress)0;
static const AP_VarAddress AP_VarNoAddress = ~(AP_VarAddress)0;
/// The largest variable that will be saved to EEPROM.
/// This affects the amount of stack space that is required by the ::save, ::load,