mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-12 05:51:29 +00:00
Fix deprecated warning.
This commit is contained in:
parent
0e6eda9f8c
commit
095566a4d7
@ -52,7 +52,7 @@ template <class T, class U> int32_t APIServerPort<T, U>::runOnce()
|
|||||||
auto client = U::available();
|
auto client = U::available();
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
auto client = U::available();
|
auto client = U::accept();
|
||||||
#endif
|
#endif
|
||||||
if (client) {
|
if (client) {
|
||||||
// Close any previous connection (see FIXME in header file)
|
// Close any previous connection (see FIXME in header file)
|
||||||
|
Loading…
Reference in New Issue
Block a user