mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user