Skip to content
Permalink
Browse files

Minor tweak on the TPS timing

  • Loading branch information
noisymime committed Sep 17, 2018
1 parent 5c7a7c7 commit d317a610c9b178b3d8641fd3a771fc04cc918782
Showing with 3 additions and 3 deletions.
  1. +3 −3 speeduino/sensors.ino
@@ -70,7 +70,7 @@ void initialiseADC()
if( pinIsUsed(pinNumber) )
{
//Do nothing here as the pin is already in use.
//Need some mmethod of reporting this back to the user
//Need some method of reporting this back to the user
}
else
{
@@ -86,7 +86,7 @@ void initialiseADC()
if( pinIsUsed(pinNumber) )
{
//Do nothing here as the pin is already in use.
//Need some mmethod of reporting this back to the user
//Need some method of reporting this back to the user
}
else
{
@@ -270,7 +270,7 @@ void readTPS()
currentStatus.TPS = map(tempADC, configPage2.tpsMax, configPage2.tpsMin, 0, 100);
}

currentStatus.TPS_time = currentLoopTime;
currentStatus.TPS_time = micros();
}

void readCLT()

0 comments on commit d317a61

Please sign in to comment.
You can’t perform that action at this time.