Skip to content

Commit

Permalink
[FL-2203] Fix CLI RPC stall (flipperdevices#961)
Browse files Browse the repository at this point in the history
* [FL-2203] Fix CLI RPC stall
  • Loading branch information
albkharisov authored Jan 14, 2022
1 parent 17d0d19 commit 8f8aba2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions applications/rpc/rpc_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ void rpc_cli_command_start_session(Cli* cli, string_t args, void* context) {
}

if(size_received) {
furi_assert(
rpc_session_feed(rpc_session, buffer, size_received, 3000) == size_received);
size_t fed_bytes = rpc_session_feed(rpc_session, buffer, size_received, 3000);
(void)fed_bytes;
furi_assert(fed_bytes == size_received);
}
}

Expand Down

0 comments on commit 8f8aba2

Please sign in to comment.