Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
b4a0390c
Commit
b4a0390c
authored
Apr 04, 2023
by
iabdalkader
Committed by
Damien George
Apr 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extmod/network_ninaw10: Add missing raw socket type to socket().
This regression was introduced by
3d46fe67
.
parent
f34af3e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
extmod/network_ninaw10.c
extmod/network_ninaw10.c
+4
-0
No files found.
extmod/network_ninaw10.c
View file @
b4a0390c
...
@@ -497,6 +497,10 @@ STATIC int network_ninaw10_socket_socket(mod_network_socket_obj_t *socket, int *
...
@@ -497,6 +497,10 @@ STATIC int network_ninaw10_socket_socket(mod_network_socket_obj_t *socket, int *
socket_type
=
NINA_SOCKET_TYPE_UDP
;
socket_type
=
NINA_SOCKET_TYPE_UDP
;
break
;
break
;
case
MOD_NETWORK_SOCK_RAW
:
socket_type
=
NINA_SOCKET_TYPE_RAW
;
break
;
default:
default:
*
_errno
=
MP_EINVAL
;
*
_errno
=
MP_EINVAL
;
return
-
1
;
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment