Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
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
arduino-pico
Commits
0e4fd058
Unverified
Commit
0e4fd058
authored
Dec 03, 2023
by
GUVWAF
Committed by
GitHub
Dec 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace `std::bind` in `MDNSResponder` for UDP context (#1875)
parent
d2461a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/LEAmDNS/src/LEAmDNS_Helpers.cpp
libraries/LEAmDNS/src/LEAmDNS_Helpers.cpp
+1
-1
No files found.
libraries/LEAmDNS/src/LEAmDNS_Helpers.cpp
View file @
0e4fd058
...
...
@@ -161,7 +161,7 @@ bool MDNSResponder::_allocUDPContext(void) {
if
(
m_pUDPContext
->
listen
(
IP4_ADDR_ANY
,
DNS_MQUERY_PORT
))
{
m_pUDPContext
->
setMulticastTTL
(
MDNS_MULTICAST_TTL
);
m_pUDPContext
->
onRx
(
std
::
bind
(
&
MDNSResponder
::
_callProcess
,
this
)
);
m_pUDPContext
->
onRx
(
[
this
]
{
this
->
_callProcess
();
}
);
}
else
{
return
false
;
}
...
...
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