summaryrefslogtreecommitdiff
path: root/ports/stm32/modpyb.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-12-26 22:44:09 +1100
committerDamien George <damien.p.george@gmail.com>2019-01-27 11:13:32 +1100
commit285d265eee834c763749f54a6d806e284be1160c (patch)
tree6ae38f5e5ed36a7061f760b0a419c9c04391a69a /ports/stm32/modpyb.c
parentb16146d18907b921eefec527f7a700413309dd12 (diff)
stm32: Implement machine.lightsleep().
Diffstat (limited to 'ports/stm32/modpyb.c')
-rw-r--r--ports/stm32/modpyb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/modpyb.c b/ports/stm32/modpyb.c
index 0e8313d10..60b287fb1 100644
--- a/ports/stm32/modpyb.c
+++ b/ports/stm32/modpyb.c
@@ -134,7 +134,7 @@ STATIC const mp_rom_map_elem_t pyb_module_globals_table[] = {
#endif
#if MICROPY_PY_PYB_LEGACY
- { MP_ROM_QSTR(MP_QSTR_stop), MP_ROM_PTR(&machine_sleep_obj) },
+ { MP_ROM_QSTR(MP_QSTR_stop), MP_ROM_PTR(&machine_lightsleep_obj) },
{ MP_ROM_QSTR(MP_QSTR_standby), MP_ROM_PTR(&machine_deepsleep_obj) },
#endif
{ MP_ROM_QSTR(MP_QSTR_main), MP_ROM_PTR(&pyb_main_obj) },