This commit is contained in:
ChiKyun Kim
2025-12-17 14:58:36 +09:00
2 changed files with 7 additions and 0 deletions

View File

@@ -43,5 +43,7 @@ namespace ENIGProtocol
EmptyNode, EmptyNode,
Goto, Goto,
ManualMode, ManualMode,
UnknownCommand,
UnknownAlias,
} }
} }

View File

@@ -224,6 +224,11 @@ namespace ENIG
ProtocolParseError += 1; ProtocolParseError += 1;
if (ProtocolParseError > 3) buffer.Clear(); if (ProtocolParseError > 3) buffer.Clear();
} else ProtocolParseError = 0; } else ProtocolParseError = 0;
if(buffer.Any())
{
System.Threading.Thread.Sleep(1);
}
} }
} }
} }