Skip to content

Commit 38564b5

Browse files
Add power module.
1 parent 213031b commit 38564b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ extern const struct _mp_obj_module_t machine_module;
115115
extern const struct _mp_obj_module_t microbit_module;
116116
extern const struct _mp_obj_module_t music_module;
117117
extern const struct _mp_obj_module_t os_module;
118+
extern const struct _mp_obj_module_t power_module;
118119
extern const struct _mp_obj_module_t radio_module;
119120
extern const struct _mp_obj_module_t speech_module;
120121
extern const struct _mp_obj_module_t this_module;
@@ -129,6 +130,7 @@ extern const struct _mp_obj_module_t utime_module;
129130
{ MP_ROM_QSTR(MP_QSTR_microbit), MP_ROM_PTR(&microbit_module) }, \
130131
{ MP_ROM_QSTR(MP_QSTR_music), MP_ROM_PTR(&music_module) }, \
131132
{ MP_ROM_QSTR(MP_QSTR_os), MP_ROM_PTR(&os_module) }, \
133+
{ MP_ROM_QSTR(MP_QSTR_power), MP_ROM_PTR(&power_module) }, \
132134
{ MP_ROM_QSTR(MP_QSTR_radio), MP_ROM_PTR(&radio_module) }, \
133135
{ MP_ROM_QSTR(MP_QSTR_speech), MP_ROM_PTR(&speech_module) }, \
134136
{ MP_ROM_QSTR(MP_QSTR_this), MP_ROM_PTR(&this_module) }, \

0 commit comments

Comments
 (0)