increase wifi channel limit
Co-authored-by: anecdata <16617689+anecdata@users.noreply.github.com>
This commit is contained in:
parent
41dcfda593
commit
d5f0323ff7
@ -55,7 +55,7 @@ STATIC mp_obj_t wifi_monitor_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
|
||||
mp_arg_parse_all_kw_array(n_args, n_kw, all_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);
|
||||
|
||||
if (args[ARG_channel].u_int < 0 || args[ARG_channel].u_int > 11) {
|
||||
if (args[ARG_channel].u_int < 0 || args[ARG_channel].u_int > 13) {
|
||||
mp_raise_ValueError_varg(translate("%q out of bounds"), MP_QSTR_channel);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user