Retain oversized native USB commands until they can be rejected

This commit is contained in:
mikecarper committed 2026-10-04 02:53:04 -07:00
1 parent 8c164934bc
commit fbc1eae32e
5 files changed
+166 -8

No files matched your search

+2 -2
View File
@@ -3026,8 +3026,8 @@ bool handleCompanionWirelessCommand(const char* command, char* reply, size_t siz
void setup() {
#if MESH_ESP32_HWCDC_SESSION_GUARD
// HWCDC's TX ring is resized before Serial.begin() creates its mutex and
// enables the USB ISR. This is deliberately before the nRF52 ordering below:
// HWCDC's RX queue and TX ring are resized before Serial.begin() creates its
// mutex and enables the USB ISR. This is before the nRF52 ordering below:
// prepareUsbLoggingPort() is otherwise a no-op outside ESP32 HWCDC.
mesh::prepareUsbLoggingPort();
#endif