From d32f89d30b44d784d40cf175157294f1ebdaf090 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Mon, 3 May 2021 21:17:27 +0530 Subject: [PATCH] Enable libbpf logging when drone logs are enabled --- server/drone_main.cpp | 2 +- server/turbo.cpp | 2 +- server/turbo.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/drone_main.cpp b/server/drone_main.cpp index 646c838..1a2693e 100644 --- a/server/drone_main.cpp +++ b/server/drone_main.cpp @@ -86,7 +86,7 @@ int main(int argc, char *argv[]) app.applicationName().toLower()); qDebug("Settings: %s", qPrintable(appSettings->fileName())); - validateTurboLicense(); + initTurbo(); drone = new Drone(); OstProtocolManager = new ProtocolManager(); diff --git a/server/turbo.cpp b/server/turbo.cpp index f2ae4ac..b4a6f24 100644 --- a/server/turbo.cpp +++ b/server/turbo.cpp @@ -19,7 +19,7 @@ along with this program. If not, see #include "turbo.h" -void validateTurboLicense() +void initTurbo() { return; } diff --git a/server/turbo.h b/server/turbo.h index 36cf649..1a66578 100644 --- a/server/turbo.h +++ b/server/turbo.h @@ -22,7 +22,7 @@ along with this program. If not, see class AbstractPort; -void validateTurboLicense(); +void initTurbo(); bool isTurboPort(const char* device); AbstractPort* createTurboPort(int id, const char* device);