diff --git a/include/nuttx/circbuf.h b/include/nuttx/circbuf.h index 3295c175cf..0b2ba990ce 100644 --- a/include/nuttx/circbuf.h +++ b/include/nuttx/circbuf.h @@ -37,6 +37,12 @@ #include #include +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#define CIRCBUF_INITIALIZER(base, size) { base, size, 0, 0, true } + /**************************************************************************** * Public Types ****************************************************************************/