Skip to content

Commit d75892c

Browse files
committed
zephyr/modusocket: Fix function object wrapper for listen method.
This was missed by 919f696 Signed-off-by: Damien George <damien@micropython.org>
1 parent 37d5114 commit d75892c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/zephyr/modusocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ STATIC mp_obj_t socket_listen(size_t n_args, const mp_obj_t *args) {
201201

202202
return mp_const_none;
203203
}
204-
STATIC MP_DEFINE_CONST_FUN_OBJ_2(socket_listen_obj, socket_listen);
204+
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(socket_listen_obj, 1, 2, socket_listen);
205205

206206
STATIC mp_obj_t socket_accept(mp_obj_t self_in) {
207207
socket_obj_t *socket = self_in;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy