mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Param: remove confusing comment
The code refered to is within is_sentinel - and it has a copy of the comment
This commit is contained in:
parent
e567cca230
commit
936aa63135
@ -1468,8 +1468,6 @@ bool AP_Param::load_all()
|
|||||||
|
|
||||||
while (ofs < _storage.size()) {
|
while (ofs < _storage.size()) {
|
||||||
_storage.read_block(&phdr, ofs, sizeof(phdr));
|
_storage.read_block(&phdr, ofs, sizeof(phdr));
|
||||||
// note that this is an || not an && for robustness
|
|
||||||
// against power off while adding a variable
|
|
||||||
if (is_sentinal(phdr)) {
|
if (is_sentinal(phdr)) {
|
||||||
// we've reached the sentinal
|
// we've reached the sentinal
|
||||||
sentinal_offset = ofs;
|
sentinal_offset = ofs;
|
||||||
|
Loading…
Reference in New Issue
Block a user