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

LimeSDR: detect Lime hardware type. Interface with GPIO only for SPI and USB type

This commit is contained in:
f4exb
2018-11-29 23:37:34 +01:00
parent 83b66eb6f1
commit f3b75ead00
7 changed files with 96 additions and 50 deletions
@@ -226,7 +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')));
ui->gpioText->setText(tr("%1").arg(report.getGPIOPins(), 2, 16, QChar('0')).toUpper());
return true;
}
else if (LimeSDRInput::MsgStartStop::match(message))