DataFlash: correct structures debug method

This commit is contained in:
Peter Barker 2018-05-23 18:56:55 +10:00 committed by Randy Mackay
parent 1844ccdab8
commit 63b0883b38

View File

@ -247,7 +247,7 @@ bool DataFlash_Class::validate_structure(const struct LogStructure *logstructure
bool passed = true; bool passed = true;
#if DEBUG_LOG_STRUCTURES #if DEBUG_LOG_STRUCTURES
Debug("offset=%d ID=%d NAME=%s\n", i, logstructure->msg_type, logstructure->name); Debug("offset=%d ID=%d NAME=%s\n", offset, logstructure->msg_type, logstructure->name);
#endif #endif
// fields must be null-terminated // fields must be null-terminated