mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Fix WKO parser for Ergomo users
The WKO ride file reader used wrong constants for the bit field size of the sample data when decoding files from Ergomo devices. merged from v2 master.
This commit is contained in:
@@ -1191,12 +1191,12 @@ unsigned int bitsize(char g, int WKO_device, WKO_ULONG version)
|
||||
case 0x04:
|
||||
case 0x05:
|
||||
case 0x06:
|
||||
case 0x11:
|
||||
case 0x19:
|
||||
default:
|
||||
return 19;
|
||||
break;
|
||||
case 0x01:
|
||||
case 0x11:
|
||||
case 0x16: // Cycleops PT300
|
||||
case 0x00:
|
||||
case 0x12: // Garmin Edge 205/305
|
||||
@@ -1234,13 +1234,13 @@ unsigned int bitsize(char g, int WKO_device, WKO_ULONG version)
|
||||
case 0x04:
|
||||
case 0x05:
|
||||
case 0x06:
|
||||
case 0x11:
|
||||
case 0x19:
|
||||
case 0x1a:
|
||||
default:
|
||||
return 11;
|
||||
break;
|
||||
case 0x01:
|
||||
case 0x11:
|
||||
case 0x16: // Cycleops PT300
|
||||
case 0x00:
|
||||
case 0x12: // Garmin Edge 205/305
|
||||
|
||||
Reference in New Issue
Block a user