fix kappl and read

This commit is contained in:
2026-01-09 21:43:07 +01:00
parent 864a1030e7
commit 262fb26ea9
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ void KeyboardApplication::action() { // NOLINT
while(1){
char msg[11];
int len;
len = read(0, msg, 10);
len = read(0, msg, 1);
if(len){
write(0, msg, len);
memcpy(&cmd_buff[bufferpos], msg, len);