1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 22:14:45 -04:00

BladerRF2 input support. Trying to fix threading issue

This commit is contained in:
f4exb
2018-09-25 14:19:57 +02:00
parent 47a4da4142
commit 5f2a4e8c83
6 changed files with 132 additions and 119 deletions
@@ -100,6 +100,8 @@ public:
virtual void init();
virtual bool start();
virtual void stop();
BladeRF2InputThread *getThread() { return m_thread; }
void resetThread() { m_thread = 0; }
virtual QByteArray serialize() const;
virtual bool deserialize(const QByteArray& data);
@@ -152,6 +154,7 @@ private:
bool openDevice();
void closeDevice();
BladeRF2InputThread *findThread();
bool applySettings(const BladeRF2InputSettings& settings, bool force = false);
void webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings& response, const BladeRF2InputSettings& settings);
void webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response);