diff options
Diffstat (limited to 'stmhal/exti.c')
-rw-r--r-- | stmhal/exti.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stmhal/exti.c b/stmhal/exti.c index 8aaa99d429..41f8e378a8 100644 --- a/stmhal/exti.c +++ b/stmhal/exti.c @@ -229,11 +229,11 @@ static MP_DEFINE_CONST_FUN_OBJ_1(exti_obj_disable_obj, exti_obj_disable); static MP_DEFINE_CONST_FUN_OBJ_1(exti_obj_swint_obj, exti_obj_swint); static const mp_method_t exti_methods[] = { - { "line", &exti_obj_line_obj }, - { "enable", &exti_obj_enable_obj }, - { "disable", &exti_obj_disable_obj }, - { "swint", &exti_obj_swint_obj }, - { NULL, NULL }, + { MP_QSTR_line, &exti_obj_line_obj }, + { MP_QSTR_enable, &exti_obj_enable_obj }, + { MP_QSTR_disable, &exti_obj_disable_obj }, + { MP_QSTR_swint, &exti_obj_swint_obj }, + { MP_QSTR_NULL, NULL }, }; static mp_obj_t exti_regs(void) { |