mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-23 10:01:58 +03:00
Fix SubGHz chat immediately closing #1440
It's just an if condition which should've been inverted Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
c22d66590e
commit
3ee592cae7
@ -676,7 +676,7 @@ static void subghz_cli_command_chat(Cli* cli, string_t args) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(cli_is_connected(cli)) {
|
if(!cli_is_connected(cli)) {
|
||||||
printf("\r\n");
|
printf("\r\n");
|
||||||
chat_event.event = SubGhzChatEventUserExit;
|
chat_event.event = SubGhzChatEventUserExit;
|
||||||
subghz_chat_worker_put_event_chat(subghz_chat, &chat_event);
|
subghz_chat_worker_put_event_chat(subghz_chat, &chat_event);
|
||||||
|
Loading…
Reference in New Issue
Block a user