From 282638297045c1056923a346aa7ec9e7971aa9f9 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 16 Sep 2024 18:31:02 +0300 Subject: [PATCH] fix check [ci skip] --- lib/subghz/protocols/gangqi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/subghz/protocols/gangqi.c b/lib/subghz/protocols/gangqi.c index 55998dd2b..56d39c2cd 100644 --- a/lib/subghz/protocols/gangqi.c +++ b/lib/subghz/protocols/gangqi.c @@ -496,8 +496,7 @@ void subghz_protocol_decoder_gangqi_get_string(void* context, FuriString* output bool serial_is_valid = (((!(sum_3bytes_serial & 0x3)) && ((0xB < sum_3bytes_serial) && (sum_3bytes_serial < 0x141))) && - ((((instance->generic.serial >> 16) & 0xFF) >= 0x0) || - (((instance->generic.serial >> 16) & 0xFF) <= 0x3))); + (((instance->generic.serial >> 16) & 0xFF) <= 0x3)); furi_string_cat_printf( output,