diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-21 14:30:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-21 14:30:57 -0800 |
| commit | 3b1109c47bf645109294f7a79dcbfed8cd4c780f (patch) | |
| tree | 743fef26c6176aca6582b92a85829a565e60c414 /py/objmodule.c | |
| parent | ceeac4791e84607a3f1211310d5f4070205db478 (diff) | |
| parent | ccbb5e84f980e252f7380d96fcc5c417a8a64523 (diff) | |
Merge pull request #50 from tannewt/microcontroller
Introduce shared APIs: nativeio, microcontroller and board modules. These are the only hardware API on the atmel-samd port.
Diffstat (limited to 'py/objmodule.c')
| -rw-r--r-- | py/objmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objmodule.c b/py/objmodule.c index 9b06e3b7b..7ed3175c0 100644 --- a/py/objmodule.c +++ b/py/objmodule.c @@ -201,13 +201,13 @@ STATIC const mp_rom_map_elem_t mp_builtin_module_table[] = { #if MICROPY_PY_USSL { MP_ROM_QSTR(MP_QSTR_ussl), MP_ROM_PTR(&mp_module_ussl) }, #endif -#if MICROPY_PY_LWIP +#ifdef MICROPY_PY_LWIP { MP_ROM_QSTR(MP_QSTR_lwip), MP_ROM_PTR(&mp_module_lwip) }, #endif #if MICROPY_PY_WEBSOCKET { MP_ROM_QSTR(MP_QSTR_websocket), MP_ROM_PTR(&mp_module_websocket) }, #endif -#if MICROPY_PY_WEBREPL +#ifdef MICROPY_PY_WEBREPL { MP_ROM_QSTR(MP_QSTR__webrepl), MP_ROM_PTR(&mp_module_webrepl) }, #endif #if MICROPY_PY_FRAMEBUF |
