NeoSWSerial icon indicating copy to clipboard operation
NeoSWSerial copied to clipboard

peek() returns zero

Open cider101 opened this issue 4 years ago • 0 comments

Is there a reason, that peek() is implemented with return 0 ? a simple implementation would be

return rxHead == rxTail ? -1 : rxBuffer[rxTail];

or have i overseen something ?

cider101 avatar Jun 07 '21 19:06 cider101