From 0a40b34016a59b63e191c19b90e5d3e8876562e6 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Mon, 13 May 2024 05:36:36 +0300 Subject: [PATCH] Increase deduplication threshold in SubGHz history to fit Hormann BiSecure remotes. They transmit the 2FSK data 3 times, with a 504.3 ms pause, which is enough to show them as three separate signals, although they are absolutely identical. On the flipper, that's measured between 578 and 591 ms. --- applications/main/subghz/subghz_history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/main/subghz/subghz_history.c b/applications/main/subghz/subghz_history.c index b0d8000c8..f83b15366 100644 --- a/applications/main/subghz/subghz_history.c +++ b/applications/main/subghz/subghz_history.c @@ -245,7 +245,7 @@ bool subghz_history_add_to_history( SubGhzProtocolDecoderBase* decoder_base = context; uint32_t hash_data = subghz_protocol_decoder_base_get_hash_data_long(decoder_base); if((instance->code_last_hash_data == hash_data) && - ((furi_get_tick() - instance->last_update_timestamp) < 500)) { + ((furi_get_tick() - instance->last_update_timestamp) < 600)) { instance->last_update_timestamp = furi_get_tick(); return false; }