1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

LimeSDR: report GPIO pins values in the GUI

This commit is contained in:
f4exb
2018-11-29 13:57:04 +01:00
parent 5319eac2ff
commit 83b66eb6f1
7 changed files with 135 additions and 28 deletions
@@ -226,6 +226,7 @@ bool LimeSDRInputGUI::handleMessage(const Message& message)
{
DeviceLimeSDRShared::MsgReportDeviceInfo& report = (DeviceLimeSDRShared::MsgReportDeviceInfo&) message;
ui->temperatureText->setText(tr("%1C").arg(QString::number(report.getTemperature(), 'f', 0)));
ui->gpioText->setText(tr("%1").arg(report.getGPIOPins(), 2, 16, QChar('0')));
return true;
}
else if (LimeSDRInput::MsgStartStop::match(message))