From 936aa63135e90c77d22f6802012fbad1ff308e35 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 17 Mar 2021 11:42:38 +1100 Subject: [PATCH] AP_Param: remove confusing comment The code refered to is within is_sentinel - and it has a copy of the comment --- libraries/AP_Param/AP_Param.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_Param/AP_Param.cpp b/libraries/AP_Param/AP_Param.cpp index 41d96fb701..34126561bd 100644 --- a/libraries/AP_Param/AP_Param.cpp +++ b/libraries/AP_Param/AP_Param.cpp @@ -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;