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:
Mark Liversedge
2011-05-25 20:26:37 +01:00
parent 5e89f9980c
commit d1f43a2800

View File

@@ -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