Skip to content

Commit 7ff8c3a

Browse files
committed
Reduced shifter calibration edge offset
The high gear X offset calculated by my (G29) shifter was on the edge of being compatible with the G27 shifter - some worked by 1, some didn't work by 1. Setting this to a lower threshold appears to fix compatibility with those shifters without affecting anything else. See issue #10 for further information.
1 parent a24d768 commit 7ff8c3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SimRacing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ String Shifter::getGearString() const {
655655
*/
656656
const float AnalogShifter::CalEngagementPoint = 0.70;
657657
const float AnalogShifter::CalReleasePoint = 0.50;
658-
const float AnalogShifter::CalEdgeOffset = 0.70;
658+
const float AnalogShifter::CalEdgeOffset = 0.60;
659659

660660
AnalogShifter::AnalogShifter(uint8_t pinX, uint8_t pinY, uint8_t pinRev, uint8_t detectPin)
661661
:

0 commit comments

Comments
 (0)