mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-19 09:54:15 +01:00
GCS/Uploader plugin: display DeviceID in hex making it more sensible (201 -> device 2, revision 01).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2626 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
a8bd4d28ad
commit
1ae14c5682
@ -78,7 +78,7 @@ void deviceWidget::setDfu(DFUObject *dfu)
|
||||
void deviceWidget::populate()
|
||||
{
|
||||
int id = m_dfu->devices[deviceID].ID;
|
||||
myDevice->deviceID->setText(QString("Device ID: ") + QString::number(id));
|
||||
myDevice->deviceID->setText(QString("Device ID: ") + QString::number(id, 16));
|
||||
// DeviceID tells us what sort of HW we have detected:
|
||||
// display a nice icon:
|
||||
myDevice->devicePicture->scene()->clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user