Skip to content

Commit fdb5fb6

Browse files
committed
Set G25 shifter sequential calibration defaults
These default engagement / release points were already set as static members, but I forgot to add them as defaults to the calibration function.
1 parent cb57c06 commit fdb5fb6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SimRacing.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,10 @@ namespace SimRacing {
11731173
* from an engaged gear (as a percentage of distance
11741174
* from neutral to Y max, 0-1)
11751175
*/
1176-
void setCalibrationSequential(int neutral, int up, int down, float engagePoint, float releasePoint);
1176+
void setCalibrationSequential(int neutral, int up, int down,
1177+
float engagePoint = LogitechShifterG25::CalEngagementPoint,
1178+
float releasePoint = LogitechShifterG25::CalReleasePoint
1179+
);
11771180

11781181
/** @copydoc AnalogShifter::serialCalibration(Stream&) */
11791182
void serialCalibrationSequential(Stream& iface = Serial);

0 commit comments

Comments
 (0)