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:
parent
8423ab6364
commit
aaf125e441
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user