Skip to content

Display and control your Android device

Fix cbuf documentation

Romain Vimont26213f1031e3
diff --git a/app/src/cbuf.h b/app/src/cbuf.h
index 9777d9f4..35b39b7b 100644
--- a/app/src/cbuf.h
+++ b/app/src/cbuf.h
@@ -6,7 +6,7 @@
#include <unistd.h>
// To define a circular buffer type of 20 ints:
-// typedef CBUF(int, 20) my_cbuf_t;
+// struct cbuf_int CBUF(int, 20);
//
// data has length CAP + 1 to distinguish empty vs full.
#define CBUF(TYPE, CAP) { \