mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 15:02:41 +00:00
ESP32s2 doesn't implement HWCDC (#8199)
This commit is contained in:
parent
0c2283e19e
commit
b7f6a2acb6
@ -86,7 +86,7 @@ int32_t SerialConsole::runOnce()
|
||||
#endif
|
||||
|
||||
int32_t delay = runOncePart();
|
||||
#if defined(SERIAL_HAS_ON_RECEIVE)
|
||||
#if defined(SERIAL_HAS_ON_RECEIVE) || defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
return Port.available() ? delay : INT32_MAX;
|
||||
#elif defined(IS_USB_SERIAL)
|
||||
return HWCDC::isPlugged() ? delay : (1000 * 20);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user