mirror of https://github.com/rusefi/bldc.git
Unlock lbm if repl_buffer is already set on repl command
This fixes a race condition where unlock was never called if multiple repl commands was issued in short sequence.
This commit is contained in:
parent
362c516fed
commit
df976e4268
|
@ -413,6 +413,7 @@ void lispif_process_cmd(unsigned char *data, unsigned int len,
|
|||
commands_printf_lisp("Verbose errors %s", verbose_now ? "Enabled" : "Disabled");
|
||||
} else {
|
||||
if (repl_buffer) {
|
||||
lispif_unlock_lbm();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue