fix: finish acknowledged HWCDC writes without a TX event
This commit is contained in:
1 parent
5a116597f2
commit
7081673bb1
3 files changed
+45
-3
No files matched your search
@@ -548,6 +548,11 @@ static void serviceEsp32HwcdcTxKickExclusive(void*) {
|
||||
#endif
|
||||
) {
|
||||
esp32_hwcdc_tx_kick_pending.store(false, std::memory_order_release);
|
||||
#if MESH_HWCDC_PINNED_TX_BACKPORT
|
||||
// The final FIFO ACK posts no TX event unless another payload is staged.
|
||||
// Its empty proof must also finish a lone write or a dropped TX event.
|
||||
noteUsbLoggingTxComplete();
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
if (!Serial.isPlugged()) return;
|
||||
|
||||
Reference in new issue
Block a user