fix small bug

This commit is contained in:
MX 2023-09-05 05:43:06 +03:00
parent 0eb06ba2b7
commit ffc6f726f0
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83

View File

@ -139,7 +139,7 @@ static bool subghz_protocol_faac_slh_gen_data(SubGhzProtocolEncoderFaacSLH* inst
button_for_programming = true; button_for_programming = true;
} }
// If we are using UP button - generate programming mode key and send it, otherwise - send regular key if possible // If we are using UP button - generate programming mode key and send it, otherwise - send regular key if possible
if(button_for_programming) { if(button_for_programming && !(!allow_zero_seed && (instance->generic.seed == 0x0))) {
uint8_t data_tmp = 0; uint8_t data_tmp = 0;
uint8_t data_prg[8]; uint8_t data_prg[8];