fix: input tokenizer should start over on eot

This commit is contained in:
s3lph 2024-11-30 01:11:23 +01:00
parent 2705099d30
commit bba1e6edc0
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -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;