changed SampleTime datatype

there was a "comparison between signed and unsigned integer expressions"
warning when the library compiled.  I cannot think of any reason why this
have caused a problem, but this fix gets rid of it anyway.
This commit is contained in:
Brett Beauregard 2012-07-19 06:33:34 -04:00
parent 20199df217
commit 169cdd0908
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class PID
unsigned long lastTime;
double ITerm, lastInput;
int SampleTime;
unsigned long SampleTime;
double outMin, outMax;
bool inAuto;
};