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.
This commit is contained in:
Vencislav Atanasov
2024-05-13 05:36:36 +03:00
parent d780c55ec1
commit 0a40b34016
+1 -1
View File
@@ -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;
}