mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
<:N1:1130620612352679958><:N2:1130620354440745162>
This commit is contained in:
@@ -365,7 +365,8 @@ static void rpc_session_thread_state_callback(FuriThreadState thread_state, void
|
||||
}
|
||||
|
||||
RpcSession* rpc_session_open(Rpc* rpc, RpcOwner owner) {
|
||||
if(!furi_hal_rtc_is_flag_set(FuriHalRtcFlagLock) || XTREME_SETTINGS()->allow_locked_rpc_commands) {
|
||||
if(!furi_hal_rtc_is_flag_set(FuriHalRtcFlagLock) ||
|
||||
XTREME_SETTINGS()->allow_locked_rpc_commands) {
|
||||
furi_assert(rpc);
|
||||
|
||||
RpcSession* session = malloc(sizeof(RpcSession));
|
||||
|
||||
Reference in New Issue
Block a user