| 465 | } |
| 466 | |
| 467 | int SoftwareSerial::available() |
| 468 | { |
| 469 | if (!isListening()) |
| 470 | return 0; |
| 471 | |
| 472 | return ((uint16_t)(_receive_buffer_tail + _SS_MAX_RX_BUFF - _receive_buffer_head)) % _SS_MAX_RX_BUFF; |
| 473 | } |
| 474 | |
| 475 | size_t SoftwareSerial::write(uint8_t b) |
| 476 | { |
nothing calls this directly
no outgoing calls
no test coverage detected