Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tommy Olofsson
LabComm
Commits
0b2963c5
Commit
0b2963c5
authored
Dec 15, 2011
by
Sven Robertz
Browse files
added typecast tp thr_msg_handler_t
parent
51122380
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/simple/datagram/thr_example.c
View file @
0b2963c5
...
...
@@ -76,7 +76,7 @@ static int decode(int argc, char *argv[]) {
}
else
{
p_thr_chn
=
thr_open_chn
(
dest_mac
,
chn_id
,
frag_size
,
freq
,
labcomm_decoder_decode_one
);
p_thr_chn
=
thr_open_chn
(
dest_mac
,
chn_id
,
frag_size
,
freq
,
(
thr_msg_handler_t
)
labcomm_decoder_decode_one
);
decoder
=
labcomm_decoder_new
(
labcomm_thr_reader
,
p_thr_chn
);
if
(
!
decoder
)
{
...
...
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