Remove history buffer crash workaround

The underlying issue with memory corruption
was fixed in Zephyr PR 35072.
parent 14b36f1a
...@@ -55,19 +55,6 @@ static void kestrel_console_thread(const void *p1, const void *p2) ...@@ -55,19 +55,6 @@ static void kestrel_console_thread(const void *p1, const void *p2)
k_mutex_unlock(&shell->ctx->wr_mtx); k_mutex_unlock(&shell->ctx->wr_mtx);
// Work around crash when attempting to select history (up arrow) after re-enabling the shell
// The root cause of Zephyr crashing under the following conditions needs to be investigated
// and fixed:
// 1.) shell_stop()
// 2.) Arbitrary data input to device driver underneath stopped shell
// 3.) shell_start()
// 4.) Up arrow input to scroll through history buffer
// Enable shell and logging // Enable shell and logging
if (IS_ENABLED(CONFIG_SHELL_LOG_BACKEND) && active_log_backend) { if (IS_ENABLED(CONFIG_SHELL_LOG_BACKEND) && active_log_backend) {
z_shell_log_backend_enable(shell->log_backend, (void *)shell, active_log_level); z_shell_log_backend_enable(shell->log_backend, (void *)shell, active_log_level);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment