1
0
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:
f4exb 2017-04-17 01:28:05 +02:00
parent 67a149ac06
commit b1e12954c7
3 changed files with 1 additions and 27 deletions

View File

@ -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),

View File

@ -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();

View File

@ -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()