aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/boards.cpp')
-rw-r--r--wirish/boards.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/wirish/boards.cpp b/wirish/boards.cpp
index 7616245..471325f 100644
--- a/wirish/boards.cpp
+++ b/wirish/boards.cpp
@@ -71,10 +71,18 @@ void init(void) {
setup_adcs();
setup_timers();
wirish::priv::board_setup_usb();
+ wirish::priv::series_init();
boardInit();
}
-/* Provide a default boardInit(). */
+/* Provide a default no-op series_init() */
+namespace wirish {
+ namespace priv {
+ __weak void series_init(void) {}
+ }
+}
+
+/* Provide a default no-op boardInit(). */
__weak void boardInit(void) {
}