From 265d2592e7bf60b4ff2f1ed5e293abf6b093059f Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 2 Sep 2023 16:26:19 +0300 Subject: [PATCH] proper check --- 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 319c6288f..1d9b66d29 100644 --- a/lib/subghz/protocols/faac_slh.c +++ b/lib/subghz/protocols/faac_slh.c @@ -110,7 +110,7 @@ void subghz_protocol_encoder_faac_slh_free(void* context) { } static bool subghz_protocol_faac_slh_gen_data(SubGhzProtocolEncoderFaacSLH* instance) { - if(instance->generic.allow_zero_seed) { + if(instance->generic.allow_zero_seed || (instance->generic.seed != 0x0)) { instance->generic.cnt += furi_hal_subghz_get_rolling_counter_mult(); } else { // Do not generate new data, send data from buffer