fix: input tokenizer should start over on eot
This commit is contained in:
parent
2705099d30
commit
bba1e6edc0
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ int print_token(const char *tok, uint8_t last) {
|
||||||
|
|
||||||
|
|
||||||
int send_token(const char *tok, uint8_t last) {
|
int send_token(const char *tok, uint8_t last) {
|
||||||
|
in_tok.eot = 0;
|
||||||
uint8_t cmd[64] = { 0 };
|
uint8_t cmd[64] = { 0 };
|
||||||
uint8_t *cmdptr = cmd + 5;
|
uint8_t *cmdptr = cmd + 5;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
Loading…
Reference in a new issue