mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
ec696a14e9a02055492cea0a29c990a7142c21ee
Computrainer 3D software lets you start your ride partway into a course. But, if you do this, the first distance recorded in the log file is the distance you started at, rather than zero. GC expects the first data point to be at distance zero, however, and therefore this causes total distance to be reported incorrectly. This patch fixes the bug by remembering the distance of the first data point, and subtracting that from all distances reported to GC, so that distances are zero-based (i.e., so that the first data point is always at distance zero.)
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%