Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'applications/rpc/rpc.c')
-rw-r--r--applications/rpc/rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/rpc/rpc.c b/applications/rpc/rpc.c
index a85d0a42..f241a678 100644
--- a/applications/rpc/rpc.c
+++ b/applications/rpc/rpc.c
@@ -655,11 +655,11 @@ int32_t rpc_srv(void* p) {
rpc->busy_mutex = furi_mutex_alloc(FuriMutexTypeNormal);
- Cli* cli = furi_record_open("cli");
+ Cli* cli = furi_record_open(RECORD_CLI);
cli_add_command(
cli, "start_rpc_session", CliCommandFlagParallelSafe, rpc_cli_command_start_session, rpc);
- furi_record_create("rpc", rpc);
+ furi_record_create(RECORD_RPC, rpc);
return 0;
}