aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/drv/arduino/mod.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-05 16:32:46 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-05 16:32:46 +0200
commitd9093e3245f9619850cea391adcad1a12164d38e (patch)
treea28c8acd5735de423ee142afe29d218df23b873e /lib/pbdrv/drv/arduino/mod.h
parent36a8f66aeee73e82f28b040ca304e55034f05644 (diff)
the large library cleanup
Diffstat (limited to 'lib/pbdrv/drv/arduino/mod.h')
-rw-r--r--lib/pbdrv/drv/arduino/mod.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/pbdrv/drv/arduino/mod.h b/lib/pbdrv/drv/arduino/mod.h
new file mode 100644
index 0000000..e545d9b
--- /dev/null
+++ b/lib/pbdrv/drv/arduino/mod.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "../../pb-mod.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief puzzle bus driver setup
+ *
+ * This function should be called from the Arduino \c setup() function.
+ */
+void pbdrv_setup();
+
+#ifdef __cplusplus
+}
+#endif
+