Skip to content

Commit d5f0323

Browse files
microdev1anecdata
andcommitted
increase wifi channel limit
Co-authored-by: anecdata <[email protected]>
1 parent 41dcfda commit d5f0323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/wifi/Monitor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ STATIC mp_obj_t wifi_monitor_make_new(const mp_obj_type_t *type, size_t n_args,
5555
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
5656
mp_arg_parse_all_kw_array(n_args, n_kw, all_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);
5757

58-
if (args[ARG_channel].u_int < 0 || args[ARG_channel].u_int > 11) {
58+
if (args[ARG_channel].u_int < 0 || args[ARG_channel].u_int > 13) {
5959
mp_raise_ValueError_varg(translate("%q out of bounds"), MP_QSTR_channel);
6060
}
6161

0 commit comments

Comments
 (0)