Browse Source

AP_Param: remove confusing comment

The code refered to is within is_sentinel - and it has a copy of the
comment
zr-v5.1
Peter Barker 4 years ago committed by Peter Barker
parent
commit
936aa63135
  1. 2
      libraries/AP_Param/AP_Param.cpp

2
libraries/AP_Param/AP_Param.cpp

@ -1468,8 +1468,6 @@ bool AP_Param::load_all() @@ -1468,8 +1468,6 @@ bool AP_Param::load_all()
while (ofs < _storage.size()) {
_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)) {
// we've reached the sentinal
sentinal_offset = ofs;

Loading…
Cancel
Save