mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Fix another compile error if WFAPI not available
This commit is contained in:
@@ -240,9 +240,11 @@ DeviceScanner::quickScan(bool deep) // scan quickly or if true scan forever, as
|
||||
|
||||
} while (!isfound && deep && count++ < 2);
|
||||
|
||||
#ifdef GC_HAVE_WFAPI
|
||||
// save away the device UUID, so we can choose it when connecting.
|
||||
if (isfound && wizard->deviceTypes.Supported[wizard->current].type == DEV_KICKR)
|
||||
wizard->portSpec = ((KickrController*)(wizard->controller))->id();
|
||||
#endif
|
||||
|
||||
return isfound;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user