hollarm button codes and gangqi validator allow more serials [ci skip]

This commit is contained in:
MX
2024-09-16 18:01:38 +03:00
parent 521de2bc04
commit 2af87cdb70
2 changed files with 8 additions and 8 deletions

View File

@@ -496,8 +496,8 @@ 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) == 0x2) ||
(((instance->generic.serial >> 16) & 0xFF) == 0x3)));
((((instance->generic.serial >> 16) & 0xFF) >= 0x0) ||
(((instance->generic.serial >> 16) & 0xFF) <= 0x3)));
furi_string_cat_printf(
output,