diff --git a/reference/speeduino.ini b/reference/speeduino.ini index c905c0ca..a904dabb 100644 --- a/reference/speeduino.ini +++ b/reference/speeduino.ini @@ -650,7 +650,7 @@ page = 6 ; Flat shift flatSSoftWin = scalar, U08, 61, "rpm", 100, 0.0, 100, 25500, 0 - flatSRetard = scalar, U08, 62, "deg", 1.0, 0.0, 0.0, 80, 0 + flatSRetard = scalar, S08, 62, "deg", 1.0, 0.0,-30.0, 80, 0 flatSArm = scalar, U08, 63, "rpm", 100, 0.0, 100, 25500, 0 iacCLValues = array, U08, 64, [10], "RPM", 10.0, 0.0, 0, 2550, 0 diff --git a/speeduino/corrections.ino b/speeduino/corrections.ino index f31b0eb5..fbb53a42 100644 --- a/speeduino/corrections.ino +++ b/speeduino/corrections.ino @@ -842,7 +842,7 @@ int8_t correctionSoftLaunch(int8_t advance) */ int8_t correctionSoftFlatShift(int8_t advance) { - byte ignSoftFlatValue = advance; + int8_t ignSoftFlatValue = advance; if(configPage6.flatSEnable && clutchTrigger && (currentStatus.clutchEngagedRPM > ((unsigned int)(configPage6.flatSArm) * 100)) && (currentStatus.RPM > (currentStatus.clutchEngagedRPM-configPage6.flatSSoftWin) ) ) { diff --git a/speeduino/globals.h b/speeduino/globals.h index b245cb4f..cb341c68 100644 --- a/speeduino/globals.h +++ b/speeduino/globals.h @@ -1050,7 +1050,7 @@ struct config6 { byte flatSEnable : 1; ///< Flat shift enable byte baroPin : 4; byte flatSSoftWin; - byte flatSRetard; + int8_t flatSRetard; byte flatSArm; byte iacCLValues[10]; //Closed loop target RPM value