mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 17:43:06 +02:00
Cap at 254.
This commit is contained in:
@@ -187,7 +187,7 @@ public class TcxTrackWriter implements TrackFormatWriter {
|
||||
&& sensorData.getCadence().getState() == Sensor.SensorState.SENDING
|
||||
&& sensorData.getCadence().hasValue()) {
|
||||
pw.print(" <Cadence>");
|
||||
pw.print(Math.min(255, sensorData.getCadence().getValue()));
|
||||
pw.print(Math.min(254, sensorData.getCadence().getValue()));
|
||||
pw.println("</Cadence>");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user