Skip to content

Commit

Permalink
Increase deduplication threshold in SubGHz history to fit Hormann BiS…
Browse files Browse the repository at this point in the history
…ecure 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.
  • Loading branch information
user890104 committed May 13, 2024
1 parent d780c55 commit 43f0572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/main/subghz/subghz_history.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) < 510)) {
instance->last_update_timestamp = furi_get_tick();
return false;
}
Expand Down

0 comments on commit 43f0572

Please sign in to comment.