nrf5/modules/machine: bugfix after changing to MP_ROM_PTR in machine module local dict.

This commit is contained in:
Glenn Ruben Bakke 2017-05-11 00:04:10 +02:00 committed by glennrub
parent 54656044f7
commit b245011259
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_Timer), MP_ROM_PTR(&machine_timer_type) },
#endif
#if MICROPY_PY_MACHINE_HW_PWM
{ MP_ROM_QSTR(MP_QSTR_PWM), MP_ROM_PTR(mp_obj_t)&machine_hard_pwm_type) },
{ MP_ROM_QSTR(MP_QSTR_PWM), MP_ROM_PTR(&machine_hard_pwm_type) },
#endif
#if MICROPY_PY_MACHINE_TEMP
{ MP_ROM_QSTR(MP_QSTR_Temp), MP_ROM_PTR(&machine_temp_type) },