Commit f5ed9d29 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Improve comment

parent 53113514
......@@ -21,7 +21,7 @@ buffer_pop(uint8_t *x)
{
ATOMIC_BLOCK(ATOMIC_RESTORESTATE) {
if (_buf_head == _buf_tail) {
return 1; // error
return 1; // error: buffer is empty
}
*x = _buf[_buf_head];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment