Skip to content

Commit 3ee592c

Browse files
RvanBaarleskotopes
andauthored
Fix SubGHz chat immediately closing #1440
It's just an if condition which should've been inverted Co-authored-by: あく <alleteam@gmail.com>
1 parent c22d665 commit 3ee592c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/subghz/subghz_cli.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ static void subghz_cli_command_chat(Cli* cli, string_t args) {
676676
break;
677677
}
678678
}
679-
if(cli_is_connected(cli)) {
679+
if(!cli_is_connected(cli)) {
680680
printf("\r\n");
681681
chat_event.event = SubGhzChatEventUserExit;
682682
subghz_chat_worker_put_event_chat(subghz_chat, &chat_event);

0 commit comments

Comments
 (0)