br3ttb / Arduino-PID-AutoTune-Library

420 stars 225 forks source link

justevaled doesn't do anything #8

Open t0mpr1c3 opened 11 years ago

t0mpr1c3 commented 11 years ago

Seems redundant given that Runtime() returns a value anyway.

rusefi commented 5 years ago

Yep, this variable is never read - only written. Either it's really not needed and should be deleted, or maybe there is a bug in the code and it should be used somewhere? :)

lupicia commented 5 years ago

Maybe the Runtime()'s return value is used to judge if the PID parameters have been calculated. If the return value is 1, then we don't need to call Runtime() again. PS: I delete justevaled lol