mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-28 11:26:32 +03:00
Update cli_commands.c
cli log enable
This commit is contained in:
parent
66fa1d7c0b
commit
3cc5c285b7
@ -128,9 +128,11 @@ void cli_command_date(Cli* cli, string_t args, void* context) {
|
||||
|
||||
void cli_command_log(Cli* cli, string_t args, void* context) {
|
||||
furi_stdglue_set_global_stdout_callback(cli_stdout_callback);
|
||||
furi_log_set_puts((FuriLogPuts)printf);
|
||||
printf("Press any key to stop...\r\n");
|
||||
cli_getc(cli);
|
||||
furi_stdglue_set_global_stdout_callback(NULL);
|
||||
furi_log_set_puts(furi_hal_console_puts);
|
||||
}
|
||||
|
||||
void cli_command_vibro(Cli* cli, string_t args, void* context) {
|
||||
|
Loading…
Reference in New Issue
Block a user