aboutsummaryrefslogtreecommitdiff
path: root/ports/nrf/boards/microbit
diff options
context:
space:
mode:
authorGlenn Ruben Bakke2017-11-25 00:23:00 +0100
committerDamien George2018-07-18 17:12:25 +1000
commitd76982e3827b1e7a153ad23e544693990cc4b1bd (patch)
tree6aaee3ec54eb05b143153bc1a8bf8a8d2cae2e2f /ports/nrf/boards/microbit
parent0b504575e2686d2d4becb8237588ce78ae5cb564 (diff)
nrf/boards/microbit: Include modmicrobit.h in board_modules.h.
So that users of the board module can find the init function of the module implicitly.
Diffstat (limited to 'ports/nrf/boards/microbit')
-rw-r--r--ports/nrf/boards/microbit/modules/board_modules.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/nrf/boards/microbit/modules/board_modules.h b/ports/nrf/boards/microbit/modules/board_modules.h
index 72aa1c391..58df653e9 100644
--- a/ports/nrf/boards/microbit/modules/board_modules.h
+++ b/ports/nrf/boards/microbit/modules/board_modules.h
@@ -27,6 +27,8 @@
#ifndef MICROPY_INCLUDED_NRF_BOARD_MICROBIT_BOARD_MODULES_H
#define MICROPY_INCLUDED_NRF_BOARD_MICROBIT_BOARD_MODULES_H
+#include "modmicrobit.h"
+
extern const struct _mp_obj_module_t microbit_module;
#define BOARD_MODULES \