summaryrefslogtreecommitdiff
path: root/lib/anyio.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/anyio.h')
-rw-r--r--lib/anyio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/anyio.h b/lib/anyio.h
index ef5a832..9d7dee4 100644
--- a/lib/anyio.h
+++ b/lib/anyio.h
@@ -24,10 +24,18 @@
#ifndef SPREADAVR_anyio_h_INCLUDED
#define SPREADAVR_anyio_h_INCLUDED
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdint.h>
void anyio_init(const uint32_t baudrate, const uint8_t doublespeed);
void anyio_task(void);
int16_t anyio_bytes_received(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif