mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
32bit subghz hashes (less false duplicates)
This commit is contained in:
@@ -313,10 +313,10 @@ static void subghz_protocol_mastercode_check_remote_controller(SubGhzBlockGeneri
|
||||
instance->btn = (instance->data >> 2 & 0x03);
|
||||
}
|
||||
|
||||
uint8_t subghz_protocol_decoder_mastercode_get_hash_data(void* context) {
|
||||
uint32_t subghz_protocol_decoder_mastercode_get_hash_data(void* context) {
|
||||
furi_assert(context);
|
||||
SubGhzProtocolDecoderMastercode* 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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user