void Packet::reset() Description: ------------ * Clears out the tx, and rx buffers, plus resets the "bytes read" variable, finite state machine, etc Inputs: ------- * void Return: ------- * void */
| 435 | * void |
| 436 | */ |
| 437 | void Packet::reset() |
| 438 | { |
| 439 | memset(txBuff, 0, sizeof(txBuff)); |
| 440 | memset(rxBuff, 0, sizeof(rxBuff)); |
| 441 | |
| 442 | bytesRead = 0; |
| 443 | packetStart = 0; |
| 444 | } |
nothing calls this directly
no outgoing calls
no test coverage detected