MCPcopy Create free account
hub / github.com/PowerBroker2/SerialTransfer / tick

Method tick

src/SerialTransfer.cpp:139–145  ·  view source on GitHub ↗

bool SerialTransfer::tick() Description: ------------ * Checks to see if any packets have been fully parsed. This is basically a wrapper around the method "available()" and is used primarily in conjunction with callbacks Inputs: ------- * void Return: ------- * bool - Whether or not a full packet has been parsed */

Source from the content-addressed store, hash-verified

137 * bool - Whether or not a full packet has been parsed
138*/
139bool SerialTransfer::tick()
140{
141 if (available())
142 return true;
143
144 return false;
145}
146
147
148/*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected