Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ti-connected-launchpad
rtos_uip_public
Commits
8ffdda1e
Commit
8ffdda1e
authored
Nov 17, 2016
by
Matthias Wenzl
Browse files
fixed crash bug with compiler option -g
parent
ee0f2273
Changes
1
Hide whitespace changes
Inline
Side-by-side
UIP_Task.c
View file @
8ffdda1e
...
...
@@ -221,7 +221,9 @@ void NetFxn(UArg arg0, UArg arg1)
// Get the packet and set uip_len for uIP stack usage.
//
buf_handle
=
PacketReceive
((
int32_t
*
)(
&
uip_len
));
int32_t
len
=
0
;
buf_handle
=
PacketReceive
((
int32_t
*
)(
&
len
));
uip_len
=
(
uint16_t
)
len
;
if
(
uip_len
>
UIP_BUFSIZE
)
uip_len
=
UIP_BUFSIZE
;
//truncate received packet length if necessary
...
...
Write
Preview
Supports
Markdown
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