mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into dev
This commit is contained in:
@@ -35,10 +35,13 @@ void lfrfid_scene_emulate_on_enter(void* context) {
|
||||
|
||||
timer_auto_exit =
|
||||
furi_timer_alloc(lfrfid_scene_emulate_popup_callback, FuriTimerTypeOnce, app);
|
||||
furi_timer_start(
|
||||
timer_auto_exit,
|
||||
app->fav_timeout ? xtreme_settings.favorite_timeout * furi_kernel_get_tick_frequency() :
|
||||
LFRFID_EMULATION_TIME_MAX_MS);
|
||||
|
||||
if(!furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug) || app->fav_timeout)
|
||||
furi_timer_start(
|
||||
timer_auto_exit,
|
||||
app->fav_timeout ?
|
||||
xtreme_settings.favorite_timeout * furi_kernel_get_tick_frequency() :
|
||||
LFRFID_EMULATION_TIME_MAX_MS);
|
||||
|
||||
view_dispatcher_switch_to_view(app->view_dispatcher, LfRfidViewPopup);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user