We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4d4a2 commit 653a0c2Copy full SHA for 653a0c2
1 file changed
extmod/machine_signal.c
@@ -96,7 +96,7 @@ STATIC mp_obj_t signal_make_new(const mp_obj_type_t *type, size_t n_args, size_t
96
if (n_args == 1) {
97
if (n_kw == 0) {
98
} else if (n_kw == 1 && args[1] == MP_OBJ_NEW_QSTR(MP_QSTR_invert)) {
99
- invert = mp_obj_is_true(args[1]);
+ invert = mp_obj_is_true(args[2]);
100
} else {
101
goto error;
102
}
0 commit comments