1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 12:42:30 +04:00

fix small bug

This commit is contained in:
MX
2023-09-05 05:43:06 +03:00
parent 0eb06ba2b7
commit ffc6f726f0

View File

@@ -139,7 +139,7 @@ static bool subghz_protocol_faac_slh_gen_data(SubGhzProtocolEncoderFaacSLH* inst
button_for_programming = true;
}
// 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_prg[8];