subghz: bft force seed value

This commit is contained in:
MX
2026-02-23 04:21:24 +03:00
parent 9aacbf943c
commit 485a705d5b
+4 -4
View File
@@ -1023,10 +1023,10 @@ static uint32_t subghz_protocol_keeloq_check_remote_controller_selector(
case KEELOQ_LEARNING_SECURE:
bool reset_seed_back = false;
if((strcmp(furi_string_get_cstr(manufacture_code->name), "BFT") == 0)) {
if(instance->seed == 0) {
instance->seed = (fix & 0xFFFFFFF);
reset_seed_back = true;
}
//if(instance->seed == 0) {
instance->seed = (fix & 0xFFFFFFF);
reset_seed_back = true;
//}
}
man = subghz_protocol_keeloq_common_secure_learning(
fix, instance->seed, manufacture_code->key);