mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
DataFlash: correct structures debug method
This commit is contained in:
parent
1844ccdab8
commit
63b0883b38
@ -247,7 +247,7 @@ bool DataFlash_Class::validate_structure(const struct LogStructure *logstructure
|
||||
bool passed = true;
|
||||
|
||||
#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
|
||||
|
||||
// fields must be null-terminated
|
||||
|
Loading…
Reference in New Issue
Block a user