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.
This commit is contained in:
parent
0b504575e2
commit
d76982e382
@ -27,6 +27,8 @@
|
|||||||
#ifndef MICROPY_INCLUDED_NRF_BOARD_MICROBIT_BOARD_MODULES_H
|
#ifndef MICROPY_INCLUDED_NRF_BOARD_MICROBIT_BOARD_MODULES_H
|
||||||
#define 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;
|
extern const struct _mp_obj_module_t microbit_module;
|
||||||
|
|
||||||
#define BOARD_MODULES \
|
#define BOARD_MODULES \
|
||||||
|
Loading…
Reference in New Issue
Block a user