summaryrefslogtreecommitdiff
path: root/py/ringbuf.h
diff options
context:
space:
mode:
authorScott Shawcroft <scott@chickadee.tech>2017-08-07 14:30:11 -0700
committerScott Shawcroft <scott@chickadee.tech>2017-08-07 14:30:11 -0700
commit6ace74466709e0a25c60375638afb5cc3471828c (patch)
tree47793c1de972e9be2139c1d44b48d04b0d5dc1cf /py/ringbuf.h
parent5d509ecace763d2e0fad357f4af7c5979cc228fa (diff)
esp8266: Introduce `multiterminal` module for managing a secondary
serial connection such as WebREPL. Fixes #181.
Diffstat (limited to 'py/ringbuf.h')
-rw-r--r--py/ringbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/ringbuf.h b/py/ringbuf.h
index 5e108afad..fa817e2b6 100644
--- a/py/ringbuf.h
+++ b/py/ringbuf.h
@@ -26,6 +26,8 @@
#ifndef __MICROPY_INCLUDED_PY_RINGBUF_H__
#define __MICROPY_INCLUDED_PY_RINGBUF_H__
+#include <stdint.h>
+
typedef struct _ringbuf_t {
uint8_t *buf;
uint16_t size;