summaryrefslogtreecommitdiff
path: root/lib/utils/mpirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/mpirq.c')
-rw-r--r--lib/utils/mpirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/mpirq.c b/lib/utils/mpirq.c
index d54c15482..1bfce649d 100644
--- a/lib/utils/mpirq.c
+++ b/lib/utils/mpirq.c
@@ -36,7 +36,7 @@
******************************************************************************/
const mp_arg_t mp_irq_init_args[] = {
- { MP_QSTR_handler, MP_ARG_OBJ, {.u_rom_obj = MP_ROM_PTR(&mp_const_none_obj)} },
+ { MP_QSTR_handler, MP_ARG_OBJ, {.u_rom_obj = MP_ROM_NONE} },
{ MP_QSTR_trigger, MP_ARG_INT, {.u_int = 0} },
{ MP_QSTR_hard, MP_ARG_BOOL, {.u_bool = false} },
};