bool ELM327::timeout() Description: ------------ * Determines if a time-out has occurred Inputs: ------- * void Return: ------- * bool - whether or not a time-out has occurred */
| 363 | * bool - whether or not a time-out has occurred |
| 364 | */ |
| 365 | bool ELM327::timeout() |
| 366 | { |
| 367 | currentTime = millis(); |
| 368 | if ((currentTime - previousTime) >= timeout_ms) |
| 369 | return true; |
| 370 | return false; |
| 371 | } |
| 372 | |
| 373 | /* |
| 374 | uint8_t ELM327::ctoi(uint8_t value) |
nothing calls this directly
no outgoing calls
no test coverage detected