diff --git a/flight/pios/common/pios_debuglog.c b/flight/pios/common/pios_debuglog.c index d87b655af..1c7a4e191 100644 --- a/flight/pios/common/pios_debuglog.c +++ b/flight/pios/common/pios_debuglog.c @@ -113,6 +113,7 @@ void PIOS_DEBUGLOG_UAVObject(uint32_t objid, uint16_t instid, size_t size, uint8 #else buffer->FlightTime = 0; #endif + buffer->Entry = lognum; buffer->Type = DEBUGLOGENTRY_TYPE_UAVOBJECT; buffer->ObjectID = objid; buffer->InstanceID = instid;