void ELM327::flushInputBuff() Description: ------------ * Flushes input serial buffer Inputs: ------- * void Return: ------- * void */
| 599 | * void |
| 600 | */ |
| 601 | void ELM327::flushInputBuff() |
| 602 | { |
| 603 | if (debugMode) |
| 604 | Serial.println(F("Clearing input serial buffer")); |
| 605 | |
| 606 | while (elm_port->available()) |
| 607 | elm_port->read(); |
| 608 | } |
| 609 | |
| 610 | /* |
| 611 | void ELM327::queryPID(const uint8_t& service, const uint16_t& pid, const uint8_t& num_responses) |
nothing calls this directly
no outgoing calls
no test coverage detected