mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OP-1122 OP-1145 uavobject toStringBrief now displays the object Id as in hexadecimal format
This commit is contained in:
parent
03b3dca76c
commit
ee1584d639
@ -473,9 +473,10 @@ QString UAVObject::toStringBrief()
|
||||
{
|
||||
QString sout;
|
||||
|
||||
// object Id is converted to uppercase hexadecimal
|
||||
sout.append(QString("%1 (ID: %2-%3, %4 bytes, %5)")
|
||||
.arg(getName())
|
||||
.arg(getObjID())
|
||||
.arg(getObjID(), 1, 16).toUpper()
|
||||
.arg(getInstID())
|
||||
.arg(getNumBytes())
|
||||
.arg(isSingleInstance() ? "single" : "multiple"));
|
||||
|
Loading…
Reference in New Issue
Block a user