mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-12 14:05:58 +00:00
Fix for native Linux build.
This commit is contained in:
parent
f530ce2b0d
commit
364cd5cf29
@ -51,8 +51,10 @@ template <class T, class U> int32_t APIServerPort<T, U>::runOnce()
|
|||||||
#else
|
#else
|
||||||
auto client = U::available();
|
auto client = U::available();
|
||||||
#endif
|
#endif
|
||||||
#else
|
#elif defined(ARCH_RP2040)
|
||||||
auto client = U::accept();
|
auto client = U::accept();
|
||||||
|
#else
|
||||||
|
auto client = U::available();
|
||||||
#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