aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/drv/arduino/mod.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pbdrv/drv/arduino/mod.h')
-rw-r--r--lib/pbdrv/drv/arduino/mod.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/pbdrv/drv/arduino/mod.h b/lib/pbdrv/drv/arduino/mod.h
index c4cb9ce..87b5724 100644
--- a/lib/pbdrv/drv/arduino/mod.h
+++ b/lib/pbdrv/drv/arduino/mod.h
@@ -4,12 +4,17 @@
extern "C" {
#endif
+//! Arduino init variant (called before user setup)
+void initVariant(void);
+
/**
- * \brief puzzle bus driver setup
+ * \brief Arduino loop function
*
- * This function should be called from the Arduino \c setup() function.
+ * Loop won't run because everything is handled by the freertos scheduler. It
+ * is defined in this driver to cause compiler warnings if the user has defined
+ * the loop() function anyways.
*/
-void pb_setup();
+extern void loop(void);
#ifdef __cplusplus
}