MCPcopy Create free account
hub / github.com/PowerBroker2/ELMduino / timeout

Method timeout

src/ELMduino.cpp:365–371  ·  view source on GitHub ↗

bool ELM327::timeout() Description: ------------ * Determines if a time-out has occurred Inputs: ------- * void Return: ------- * bool - whether or not a time-out has occurred */

Source from the content-addressed store, hash-verified

363 * bool - whether or not a time-out has occurred
364*/
365bool 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected