| 326 | } |
| 327 | |
| 328 | int LoRaClass::read() |
| 329 | { |
| 330 | if (!available()) { |
| 331 | return -1; |
| 332 | } |
| 333 | |
| 334 | _packetIndex++; |
| 335 | |
| 336 | return readRegister(REG_FIFO); |
| 337 | } |
| 338 | |
| 339 | int LoRaClass::peek() |
| 340 | { |
nothing calls this directly
no outgoing calls
no test coverage detected