mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user