mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Experiment: Support for Tacx Fortius 0x1932
.. lets see if this actually works.
This commit is contained in:
@@ -301,7 +301,8 @@ struct usb_dev_handle* LibUsb::OpenFortius()
|
||||
|
||||
for (dev = bus->devices; dev; dev = dev->next) {
|
||||
|
||||
if (dev->descriptor.idVendor == FORTIUS_VID && dev->descriptor.idProduct == FORTIUS_PID) {
|
||||
if (dev->descriptor.idVendor == FORTIUS_VID &&
|
||||
(dev->descriptor.idProduct == FORTIUS_PID || dev->descriptor.idProduct == FORTIUSVR_PID)) {
|
||||
|
||||
//Avoid noisy output
|
||||
//qDebug() << "Found a Garmin USB2 ANT+ stick";
|
||||
|
||||
@@ -43,6 +43,7 @@ extern "C" {
|
||||
#define FORTIUS_VID 0x3561
|
||||
#define FORTIUS_INIT_PID 0xe6be // uninitialised Fortius PID
|
||||
#define FORTIUS_PID 0x1942 // once firmware loaded Fortius PID
|
||||
#define FORTIUSVR_PID 0x1932 // Fortius VR doesn't need firmware download ?
|
||||
|
||||
#define TYPE_ANT 0
|
||||
#define TYPE_FORTIUS 1
|
||||
|
||||
Reference in New Issue
Block a user