Skip to content

Commit 172833f

Browse files
committed
Rpc: more logging
1 parent cba1f3b commit 172833f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

applications/rpc/rpc_app.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ void rpc_system_app_send_started(RpcAppSystem* rpc_app) {
201201
furi_assert(session);
202202

203203
rpc_app->state_msg->content.app_state_response.state = PB_App_AppState_APP_STARTED;
204+
205+
FURI_LOG_D(TAG, "SendStarted");
204206
rpc_send(session, rpc_app->state_msg);
205207
}
206208

@@ -209,9 +211,9 @@ void rpc_system_app_send_exited(RpcAppSystem* rpc_app) {
209211
RpcSession* session = rpc_app->session;
210212
furi_assert(session);
211213

212-
FURI_LOG_D(TAG, "SendExit");
213-
214214
rpc_app->state_msg->content.app_state_response.state = PB_App_AppState_APP_CLOSED;
215+
216+
FURI_LOG_D(TAG, "SendExit");
215217
rpc_send(session, rpc_app->state_msg);
216218
}
217219

0 commit comments

Comments
 (0)