1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 12:51:22 +04:00

SubGHz: Hormann HSM static - Fix button decode (#3767)

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
MMX
2024-07-10 15:10:54 +03:00
committed by GitHub
parent d60ce6edde
commit d5a790e25b

View File

@@ -285,7 +285,7 @@ void subghz_protocol_decoder_hormann_feed(void* context, bool level, uint32_t du
* @param instance Pointer to a SubGhzBlockGeneric* instance * @param instance Pointer to a SubGhzBlockGeneric* instance
*/ */
static void subghz_protocol_hormann_check_remote_controller(SubGhzBlockGeneric* instance) { static void subghz_protocol_hormann_check_remote_controller(SubGhzBlockGeneric* instance) {
instance->btn = (instance->data >> 4) & 0xF; instance->btn = (instance->data >> 8) & 0xF;
} }
uint8_t subghz_protocol_decoder_hormann_get_hash_data(void* context) { uint8_t subghz_protocol_decoder_hormann_get_hash_data(void* context) {