mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-30 21:58:55 -07:00
Merge remote-tracking branch 'mntm/dev' into kiisu-mntm
This commit is contained in:
@@ -469,11 +469,16 @@ static int32_t cli_shell_thread(void* context) {
|
||||
cli_shell_init(shell);
|
||||
FURI_LOG_D(TAG, "Started");
|
||||
|
||||
if(pipe_state(shell->pipe) == PipeStateBroken) goto bail;
|
||||
|
||||
shell->motd(shell->callback_context);
|
||||
cli_shell_line_prompt(shell->components[CliShellComponentLine]);
|
||||
|
||||
if(pipe_state(shell->pipe) == PipeStateBroken) goto bail;
|
||||
|
||||
furi_event_loop_run(shell->event_loop);
|
||||
|
||||
bail:
|
||||
FURI_LOG_D(TAG, "Stopped");
|
||||
cli_shell_deinit(shell);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user