1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

GCS-Debug message to understand different uavohash behaviour

This commit is contained in:
PT_Dreamer 2012-10-14 14:52:04 +01:00
parent 30959b460d
commit 70d7d16aff

View File

@ -449,6 +449,18 @@ bool UAVObjectUtilManager::descriptionToStructure(QByteArray desc, deviceDescrip
struc.fwHash=desc.mid(40,20);
struc.uavoHash.clear();
struc.uavoHash=desc.mid(60,20);
qDebug()<<__FUNCTION__<<":description from board:";
foreach(char x,desc)
{
qDebug()<<QString::number(x,16);
}
qDebug()<<__FUNCTION__<<":uavoHash:";
QByteArray array2=struc.uavoHash.data();
foreach(char x,array2)
{
qDebug()<<QString::number(x,16);
}
return true;
}
return false;