mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 05:18:35 -07:00
Revert "nfc/lfrfid emulation abort after 5min disable if debug on"
This reverts commit 4573046df8.
This commit is contained in:
@@ -33,8 +33,6 @@ void lfrfid_scene_emulate_on_enter(void* context) {
|
|||||||
|
|
||||||
timer_auto_exit =
|
timer_auto_exit =
|
||||||
furi_timer_alloc(lfrfid_scene_emulate_popup_callback, FuriTimerTypeOnce, app);
|
furi_timer_alloc(lfrfid_scene_emulate_popup_callback, FuriTimerTypeOnce, app);
|
||||||
|
|
||||||
if(!furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug))
|
|
||||||
furi_timer_start(timer_auto_exit, LFRFID_EMULATION_TIME_MAX_MS);
|
furi_timer_start(timer_auto_exit, LFRFID_EMULATION_TIME_MAX_MS);
|
||||||
|
|
||||||
view_dispatcher_switch_to_view(app->view_dispatcher, LfRfidViewPopup);
|
view_dispatcher_switch_to_view(app->view_dispatcher, LfRfidViewPopup);
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ void nfc_scene_emulate_on_enter(void* context) {
|
|||||||
|
|
||||||
timer_auto_exit =
|
timer_auto_exit =
|
||||||
furi_timer_alloc(nfc_scene_emulate_timer_callback, FuriTimerTypeOnce, instance);
|
furi_timer_alloc(nfc_scene_emulate_timer_callback, FuriTimerTypeOnce, instance);
|
||||||
|
|
||||||
if(!furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug))
|
|
||||||
furi_timer_start(timer_auto_exit, NFC_EMULATION_TIME_MAX_MS);
|
furi_timer_start(timer_auto_exit, NFC_EMULATION_TIME_MAX_MS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user