mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
fix keytis key generation
This commit is contained in:
@@ -528,7 +528,7 @@ void subghz_scene_set_type_fill_generation_infos(GenInfo* infos_dest, SetType ty
|
||||
.type = GenSomfyKeytis,
|
||||
.mod = "AM650",
|
||||
.freq = 433420000,
|
||||
.somfy_keytis.serial = (key & 0x000FFFFF) | 0x0D500000,
|
||||
.somfy_keytis.serial = (key & 0x0000FFFF) | 0x00D50000,
|
||||
.somfy_keytis.btn = 0x04,
|
||||
.somfy_keytis.cnt = 0x03};
|
||||
break;
|
||||
|
||||
@@ -250,7 +250,7 @@ bool subghz_protocol_somfy_keytis_create_data(
|
||||
}
|
||||
|
||||
if((res == SubGhzProtocolStatusOk) &&
|
||||
!flipper_format_write_uint32(
|
||||
!flipper_format_insert_or_update_uint32(
|
||||
flipper_format, "Duration_Counter", &instance->generic.seed, 1)) {
|
||||
FURI_LOG_E(TAG, "Unable to add Duration_Counter");
|
||||
res = SubGhzProtocolStatusErrorParserOthers;
|
||||
|
||||
Reference in New Issue
Block a user