1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

OP-1798 moved OPHID_DEBUG_ON define to ophid.pro

This commit is contained in:
Philippe Renon 2015-03-22 15:47:03 +01:00
parent f8b3e6d3b1
commit 0236074de4
2 changed files with 2 additions and 3 deletions

View File

@ -30,8 +30,6 @@
#include <QDebug>
// #define OPHID_DEBUG_ON 1
#ifdef OPHID_DEBUG_ON
#define OPHID_DEBUG(fmt, args ...) qDebug("[DEBUG] "fmt,##args)
#define OPHID_TRACE(fmt, args ...) qDebug("[TRACE] %s:%s:%d: "fmt, __FILE__, __func__, __LINE__,##args)
@ -44,7 +42,6 @@
#define OPHID_WARNING(fmt, args ...)
#endif
// USB
#define USB_MAX_DEVICES 10
#define USB_VID 0x20A0

View File

@ -3,6 +3,8 @@ TARGET = opHID
DEFINES += OPHID_LIBRARY
//DEFINES += OPHID_DEBUG_ON
include(../../openpilotgcsplugin.pri)
include(ophid_dependencies.pri)