From ffc6f726f00992397dc2417952f44c5ef417a2e6 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Tue, 5 Sep 2023 05:43:06 +0300 Subject: [PATCH] fix small bug --- lib/subghz/protocols/faac_slh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/subghz/protocols/faac_slh.c b/lib/subghz/protocols/faac_slh.c index 702dcb537..be52983c4 100644 --- a/lib/subghz/protocols/faac_slh.c +++ b/lib/subghz/protocols/faac_slh.c @@ -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];