diff --git a/ground/openpilotgcs/src/plugins/opHID/src/opHID_usbmon_mac.cpp b/ground/openpilotgcs/src/plugins/opHID/src/opHID_usbmon_mac.cpp index 39dc27dfc..06574b0a5 100644 --- a/ground/openpilotgcs/src/plugins/opHID/src/opHID_usbmon_mac.cpp +++ b/ground/openpilotgcs/src/plugins/opHID/src/opHID_usbmon_mac.cpp @@ -35,11 +35,7 @@ #include #include "opHID_const.h" -#define OP_LOOPMODE_NAME_MAC "Open_Pilot_Loop_Mode" - -#define printf qDebug - -// ! Local helper functions +// Local helper functions static bool HID_GetIntProperty(IOHIDDeviceRef dev, CFStringRef property, int *value); static bool HID_GetStrProperty(IOHIDDeviceRef dev, CFStringRef property, QString & value); @@ -60,9 +56,6 @@ USBMonitor::USBMonitor(QObject *parent) : QThread(parent) USBMonitor::~USBMonitor() { m_terminate = true; - // if(hid_manager != NULL) - // IOHIDManagerUnscheduleFromRunLoop(hid_manager, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode); -// quit(); while (hid_manager != 0) { this->sleep(10);