mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
FitRideFile: We may need to add string support
This commit is contained in:
@@ -632,9 +632,14 @@ struct FitFileReaderState
|
||||
case 4: v = read_uint16(def.is_big_endian, &count); size = 2; break;
|
||||
case 5: v = read_int32(def.is_big_endian, &count); size = 4; break;
|
||||
case 6: v = read_uint32(def.is_big_endian, &count); size = 4; break;
|
||||
//case 7: // String
|
||||
//case 8: // FLOAT32
|
||||
//case 9: // FLOAT64
|
||||
case 10: v = read_uint8z(&count); size = 1; break;
|
||||
case 11: v = read_uint16z(def.is_big_endian, &count); size = 2; break;
|
||||
case 12: v = read_uint32z(def.is_big_endian, &count); size = 4; break;
|
||||
//case 13: // FLOAT64
|
||||
|
||||
// we may need to add support for float, string + byte base types here
|
||||
default:
|
||||
read_unknown( field.size, &count );
|
||||
|
||||
Reference in New Issue
Block a user