mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 17:32:18 +00:00
oh well
This commit is contained in:
parent
b4bdf604f5
commit
11c17ec78c
@ -45,8 +45,12 @@ template <class T, class U> void APIServerPort<T, U>::init()
|
|||||||
|
|
||||||
template <class T, class U> int32_t APIServerPort<T, U>::runOnce()
|
template <class T, class U> int32_t APIServerPort<T, U>::runOnce()
|
||||||
{
|
{
|
||||||
|
#ifdef ARCH_ESP32
|
||||||
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0)
|
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0)
|
||||||
auto client = U::accept();
|
auto client = U::accept();
|
||||||
|
#else
|
||||||
|
auto client = U::available();
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
auto client = U::available();
|
auto client = U::available();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user