Fix ANT.cpp comppile error (LIBUSB is optional)

Compile time error for USBMode in ANT.cpp when
libusb is not available.
This commit is contained in:
Mark Liversedge
2012-01-07 08:09:53 +00:00
parent 194f944923
commit c0ba84cdbc

View File

@@ -143,7 +143,9 @@ void ANT::run()
Status = ANT_RUNNING;
QString strBuf;
#if defined GC_HAVE_LIBUSB
usbMode = USBNone;
#endif
for (int i=0; i<ANT_MAX_CHANNELS; i++) antChannel[i]->init();