MCPcopy Create free account
hub / github.com/PowerBroker2/DFPlayerMini_Fast / flush

Method flush

src/DFPlayerMini_Fast.cpp:953–957  ·  view source on GitHub ↗

/ ! @brief Clear out the serial input buffer connected to the MP3 player. */ /

Source from the content-addressed store, hash-verified

951 */
952 /**************************************************************************/
953void DFPlayerMini_Fast::flush()
954{
955 while (_serial->available())
956 _serial->read();
957}
958
959
960

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected