Explorar o código

Rpc: increase stack size, fix stack overflow (#1997)

あく %!s(int64=3) %!d(string=hai) anos
pai
achega
2e562cfe94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      applications/services/rpc/rpc.c

+ 1 - 1
applications/services/rpc/rpc.c

@@ -372,7 +372,7 @@ RpcSession* rpc_session_open(Rpc* rpc) {
 
     session->thread = furi_thread_alloc();
     furi_thread_set_name(session->thread, "RpcSessionWorker");
-    furi_thread_set_stack_size(session->thread, 2048);
+    furi_thread_set_stack_size(session->thread, 3072);
     furi_thread_set_context(session->thread, session);
     furi_thread_set_callback(session->thread, rpc_session_worker);