From a6f31599c6437137d93dfe0fb7bea97d58cbb581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Thu, 21 Jan 2016 13:22:32 +0100 Subject: [PATCH] typo --- circbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circbuf.c b/circbuf.c index ec1d476..4236ba3 100644 --- a/circbuf.c +++ b/circbuf.c @@ -79,7 +79,7 @@ bool cbuf_read(circbuf_t *inst, uint8_t *b) bool cbuf_peek(circbuf_t *inst, size_t nth, uint8_t *b) { - // check if can read there (can't use module, could "wrap") + // check if can read there (can't use modulo, could "wrap") size_t n = inst->lr; for (size_t i = 0; i <= nth; i++) { // increment N