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:
parent
30959b460d
commit
70d7d16aff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user