Keep late OTA replies inside the shared USB source

This commit is contained in:
mikecarper committed 2026-10-26 19:47:22 -07:00
1 parent 4afad09048
commit bd8e6a73d4
1 file changed
+5
+5
View File
@@ -40,6 +40,11 @@ public:
int availableControlBytes();
int readControlByte();
bool hasPendingResponse() const { return _response_pending; }
// KISS may claim the physical port only between complete response and CLI
// records, after the console has consumed every retained text byte.
bool canReleaseControlInput() const {
return !_response_pending && !_control_in_line && _control_len == 0;
}
void resetSessionState();
protected: