1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Fixed compilation errors

This commit is contained in:
f4exb
2017-12-14 21:03:11 +01:00
parent 731c2c3f60
commit f7733a49fc
5 changed files with 16 additions and 4 deletions
@@ -1,5 +1,7 @@
project(fcdpro)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(fcdpro_SOURCES
fcdprogui.cpp
fcdproinput.cpp
@@ -23,6 +25,7 @@ set(fcdpro_FORMS
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
${CMAKE_SOURCE_DIR}/fcdhid
${CMAKE_SOURCE_DIR}/fcdlib
)
@@ -48,6 +51,7 @@ target_link_libraries(inputfcdpro
fcdlib
sdrbase
sdrgui
swagger
)
qt5_use_modules(inputfcdpro Core Widgets)
+3 -3
View File
@@ -210,9 +210,9 @@ bool FCDProGui::deserialize(const QByteArray& data)
bool FCDProGui::handleMessage(const Message& message __attribute__((unused)))
{
if (BladerfInput::MsgStartStop::match(message))
if (FCDProInput::MsgStartStop::match(message))
{
BladerfInput::MsgStartStop& notif = (BladerfInput::MsgStartStop&) message;
FCDProInput::MsgStartStop& notif = (FCDProInput::MsgStartStop&) message;
blockApplySettings(true);
ui->startStop->setChecked(notif.getStartStop());
blockApplySettings(false);
@@ -449,7 +449,7 @@ void FCDProGui::on_startStop_toggled(bool checked)
{
if (m_doApplySettings)
{
BladerfInput::MsgStartStop *message = BladerfInput::MsgStartStop::create(checked);
FCDProInput::MsgStartStop *message = FCDProInput::MsgStartStop::create(checked);
m_sampleSource->getInputMessageQueue()->push(message);
}
}