mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-11 21:41:36 +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();
|
||||
#endif
|
||||
#else
|
||||
auto client = U::available();
|
||||
auto client = U::accept();
|
||||
#endif
|
||||
if (client) {
|
||||
// Close any previous connection (see FIXME in header file)
|
||||
|
Loading…
Reference in New Issue
Block a user