mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
BladeRF input: cleaned up useless MessageReportBladeRF
This commit is contained in:
parent
67a149ac06
commit
b1e12954c7
@ -30,7 +30,6 @@
|
||||
#include "bladerfinputthread.h"
|
||||
|
||||
MESSAGE_CLASS_DEFINITION(BladerfInput::MsgConfigureBladerf, Message)
|
||||
MESSAGE_CLASS_DEFINITION(BladerfInput::MsgReportBladerf, Message)
|
||||
|
||||
BladerfInput::BladerfInput(DeviceSourceAPI *deviceAPI) :
|
||||
m_deviceAPI(deviceAPI),
|
||||
|
@ -51,23 +51,6 @@ public:
|
||||
{ }
|
||||
};
|
||||
|
||||
class MsgReportBladerf : public Message {
|
||||
MESSAGE_CLASS_DECLARATION
|
||||
|
||||
public:
|
||||
|
||||
static MsgReportBladerf* create()
|
||||
{
|
||||
return new MsgReportBladerf();
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
MsgReportBladerf() :
|
||||
Message()
|
||||
{ }
|
||||
};
|
||||
|
||||
BladerfInput(DeviceSourceAPI *deviceAPI);
|
||||
virtual ~BladerfInput();
|
||||
|
||||
|
@ -130,15 +130,7 @@ bool BladerfInputGui::deserialize(const QByteArray& data)
|
||||
|
||||
bool BladerfInputGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (BladerfInput::MsgReportBladerf::match(message))
|
||||
{
|
||||
displaySettings();
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void BladerfInputGui::handleDSPMessages()
|
||||
|
Loading…
Reference in New Issue
Block a user