mirror of
https://github.com/brmlab/lasic.git
synced 2025-06-08 17:23:59 +02:00
Sketch loop(): Reset command buffer after execution
This commit is contained in:
parent
33fbb48200
commit
990f27d126
1 changed files with 3 additions and 5 deletions
|
@ -41,11 +41,9 @@ void loop() {
|
|||
if (InByte == 10 || InByte == 13 ) {
|
||||
//Serial.println(sizeof(InCmd),DEC);
|
||||
ExeCmd(InCmd);
|
||||
/*
|
||||
for (InCmdIndex++; InCmdIndex>0; InCmdIndex--) {
|
||||
InCmd[InCmdIndex] = 0;
|
||||
}
|
||||
*/
|
||||
InCmdIndex = 0;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue