Signatures for 202108 release
This commit is contained in:
parent
4e46da16d2
commit
95b8e6ee75
|
@ -6,7 +6,7 @@
|
|||
MTversion = 2.25
|
||||
|
||||
queryCommand = "Q"
|
||||
signature = "speeduino 202104-dev"
|
||||
signature = "speeduino 202108"
|
||||
versionInfo = "S" ;This info is what is displayed to user
|
||||
|
||||
[TunerStudio]
|
||||
|
|
|
@ -283,7 +283,7 @@ void command()
|
|||
break;
|
||||
|
||||
case 'Q': // send code version
|
||||
Serial.print(F("speeduino 202104-dev"));
|
||||
Serial.print(F("speeduino 202108"));
|
||||
break;
|
||||
|
||||
case 'r': //New format for the optimised OutputChannels
|
||||
|
@ -443,7 +443,7 @@ void command()
|
|||
break;
|
||||
|
||||
case 'S': // send code version
|
||||
Serial.print(F("Speeduino 2021.04-dev"));
|
||||
Serial.print(F("Speeduino 2021.08"));
|
||||
currentStatus.secl = 0; //This is required in TS3 due to its stricter timings
|
||||
break;
|
||||
|
||||
|
|
|
@ -331,24 +331,24 @@ void initialiseAll()
|
|||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* The highest sea-level pressure on Earth occurs in Siberia, where the Siberian High often attains a sea-level pressure above 105 kPa;
|
||||
* with record highs close to 108.5 kPa.
|
||||
* The lowest measurable sea-level pressure is found at the centers of tropical cyclones and tornadoes, with a record low of 87 kPa;
|
||||
*/
|
||||
if ((currentStatus.MAP >= BARO_MIN) && (currentStatus.MAP <= BARO_MAX)) //Check if engine isn't running
|
||||
{
|
||||
/*
|
||||
* The highest sea-level pressure on Earth occurs in Siberia, where the Siberian High often attains a sea-level pressure above 105 kPa;
|
||||
* with record highs close to 108.5 kPa.
|
||||
* The lowest measurable sea-level pressure is found at the centers of tropical cyclones and tornadoes, with a record low of 87 kPa;
|
||||
*/
|
||||
if ((currentStatus.MAP >= BARO_MIN) && (currentStatus.MAP <= BARO_MAX)) //Check if engine isn't running
|
||||
{
|
||||
currentStatus.baro = currentStatus.MAP;
|
||||
//EEPROM.update(EEPROM_LAST_BARO, currentStatus.baro);
|
||||
storeLastBaro(currentStatus.baro);
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
//Attempt to use the last known good baro reading from EEPROM
|
||||
if ((readLastBaro() >= BARO_MIN) && (readLastBaro() <= BARO_MAX)) //Make sure it's not invalid (Possible on first run etc)
|
||||
{ currentStatus.baro = readLastBaro(); } //last baro correction
|
||||
else { currentStatus.baro = 100; } //Final fall back position.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Check whether the flex sensor is enabled and if so, attach an interrupt for it
|
||||
|
|
Loading…
Reference in New Issue