zephyr/modusocket: Fix function object wrapper for listen method.
This was missed by 919f696ad2
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
37d5114cec
commit
d75892c0b0
|
@ -201,7 +201,7 @@ STATIC mp_obj_t socket_listen(size_t n_args, const mp_obj_t *args) {
|
||||||
|
|
||||||
return mp_const_none;
|
return mp_const_none;
|
||||||
}
|
}
|
||||||
STATIC MP_DEFINE_CONST_FUN_OBJ_2(socket_listen_obj, socket_listen);
|
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(socket_listen_obj, 1, 2, socket_listen);
|
||||||
|
|
||||||
STATIC mp_obj_t socket_accept(mp_obj_t self_in) {
|
STATIC mp_obj_t socket_accept(mp_obj_t self_in) {
|
||||||
socket_obj_t *socket = self_in;
|
socket_obj_t *socket = self_in;
|
||||||
|
|
Loading…
Reference in New Issue