AP_Logger: re-add lost validate_structure loop
Lost with bad rebase
This commit is contained in:
parent
cd0265644d
commit
5f877294c9
@ -396,6 +396,11 @@ void AP_Logger::validate_structures(const struct LogStructure *logstructures, co
|
||||
Debug("Validating structures");
|
||||
bool passed = true;
|
||||
|
||||
for (uint16_t i=0; i<num_types; i++) {
|
||||
const struct LogStructure *logstructure = &logstructures[i];
|
||||
passed = validate_structure(logstructure, i) && passed;
|
||||
}
|
||||
|
||||
// ensure units are unique:
|
||||
for (uint16_t i=0; i<ARRAY_SIZE(log_Units); i++) {
|
||||
const struct UnitStructure &a = log_Units[i];
|
||||
|
Loading…
Reference in New Issue
Block a user