Skip to content

Commit

Permalink
zephyr/modusocket: Fix function object wrapper for listen method.
Browse files Browse the repository at this point in the history
This was missed by 919f696

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Jun 15, 2022
1 parent 37d5114 commit d75892c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/zephyr/modusocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ STATIC mp_obj_t socket_listen(size_t n_args, const mp_obj_t *args) {

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) {
socket_obj_t *socket = self_in;
Expand Down

0 comments on commit d75892c

Please sign in to comment.