mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-13 19:43:34 -07:00
subghz: bft force seed value
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user