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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user