diff --git a/Sources/FitFileParser/rzfit_swift_map.swift b/Sources/FitFileParser/rzfit_swift_map.swift index da6155e..991307c 100644 --- a/Sources/FitFileParser/rzfit_swift_map.swift +++ b/Sources/FitFileParser/rzfit_swift_map.swift @@ -9949,7 +9949,11 @@ fileprivate func rzfit_swift_value_dict_for_event( ptr : UnsafePointer> bits rv[name] = Double(val) / Double(scale) } - }else{ + }else if x.event != 0 /* timer */ && + x.event != 10 /* course_point */ && + x.event != 27 /* fitness_equipment */ && + x.event != 44 /* rider_position_change */ && + x.event != 47 /* comm_timeout */ { let val : Double = Double(x.data) rv[ "data" ] = val } @@ -10049,7 +10053,8 @@ fileprivate func rzfit_swift_value_dict_for_device_info( ptr : UnsafePointer0 and row[TYP_COL_TYPE_NAME] and row[TYP_COL_BASE_TYPE]: