mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-15 04:19:26 -07:00
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into dev
This commit is contained in:
@@ -22,11 +22,13 @@ void nfc_scene_emulate_on_enter(void* context) {
|
||||
|
||||
timer_auto_exit =
|
||||
furi_timer_alloc(nfc_scene_emulate_timer_callback, FuriTimerTypeOnce, instance);
|
||||
furi_timer_start(
|
||||
timer_auto_exit,
|
||||
instance->fav_timeout ?
|
||||
xtreme_settings.favorite_timeout * furi_kernel_get_tick_frequency() :
|
||||
NFC_EMULATION_TIME_MAX_MS);
|
||||
|
||||
if(!furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug) || instance->fav_timeout)
|
||||
furi_timer_start(
|
||||
timer_auto_exit,
|
||||
instance->fav_timeout ?
|
||||
xtreme_settings.favorite_timeout * furi_kernel_get_tick_frequency() :
|
||||
NFC_EMULATION_TIME_MAX_MS);
|
||||
}
|
||||
|
||||
bool nfc_scene_emulate_on_event(void* context, SceneManagerEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user