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

Method flushInputBuff

src/ELMduino.cpp:601–608  ·  view source on GitHub ↗

void ELM327::flushInputBuff() Description: ------------ * Flushes input serial buffer Inputs: ------- * void Return: ------- * void */

Source from the content-addressed store, hash-verified

599 * void
600*/
601void 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected