32bit subghz hashes (less false duplicates)

This commit is contained in:
Willy-JL
2023-12-14 04:46:53 +00:00
parent c40755f700
commit 02ec1f0867
135 changed files with 258 additions and 203 deletions

View File

@@ -283,10 +283,10 @@ static void subghz_protocol_gate_tx_check_remote_controller(SubGhzBlockGeneric*
instance->btn = ((code_found_reverse >> 16) & 0x0F);
}
uint8_t subghz_protocol_decoder_gate_tx_get_hash_data(void* context) {
uint32_t subghz_protocol_decoder_gate_tx_get_hash_data(void* context) {
furi_assert(context);
SubGhzProtocolDecoderGateTx* instance = context;
return subghz_protocol_blocks_get_hash_data(
return subghz_protocol_blocks_get_hash_data_long(
&instance->decoder, (instance->decoder.decode_count_bit / 8) + 1);
}