fix keytis key generation

This commit is contained in:
MX
2026-02-22 20:33:06 +03:00
parent 95debd82c2
commit 317838eaf4
2 changed files with 2 additions and 2 deletions
@@ -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;
+1 -1
View File
@@ -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;