From 1f676cffeaf86e0f0ece5be8b0d208eb4cf9036e Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 8 Dec 2025 20:16:08 +0300 Subject: [PATCH] text fixes --- lib/subghz/protocols/kia.c | 4 ++-- lib/subghz/protocols/scher_khan.c | 5 +++-- lib/subghz/protocols/secplus_v1.c | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/subghz/protocols/kia.c b/lib/subghz/protocols/kia.c index 0b882a48e..0c9394827 100644 --- a/lib/subghz/protocols/kia.c +++ b/lib/subghz/protocols/kia.c @@ -256,13 +256,13 @@ void subghz_protocol_decoder_kia_get_string(void* context, FuriString* output) { uint32_t code_found_hi = instance->generic.data >> 32; uint32_t code_found_lo = instance->generic.data & 0x00000000ffffffff; - // use 'Count:' instead of 'Cnt:' to exclude this protocol counter from Counter edit + // use 'Cntr:' instead of 'Cnt:' to exclude this protocol counter from Counter edit furi_string_cat_printf( output, "%s %dbit\r\n" "Key:%08lX%08lX\r\n" "Sn:%07lX Btn:%X\r\n" - "Count:%04lX\r\n", + "Cntr:%04lX\r\n", instance->generic.protocol_name, instance->generic.data_count_bit, code_found_hi, diff --git a/lib/subghz/protocols/scher_khan.c b/lib/subghz/protocols/scher_khan.c index b8a4e423a..b4cf1af54 100644 --- a/lib/subghz/protocols/scher_khan.c +++ b/lib/subghz/protocols/scher_khan.c @@ -297,12 +297,13 @@ void subghz_protocol_decoder_scher_khan_get_string(void* context, FuriString* ou subghz_protocol_scher_khan_check_remote_controller( &instance->generic, &instance->protocol_name); - // use 'Count:' instead of 'Cnt:' to exclude this protocol counter from Counter edit + // use 'Cntr:' instead of 'Cnt:' to exclude this protocol counter from Counter edit furi_string_cat_printf( output, "%s %dbit\r\n" "Key:0x%lX%08lX\r\n" - "Sn:%07lX Btn:%X Count:%04lX\r\n" + "Sn:%07lX Btn:%X\r\n" + "Cntr:%04lX\r\n" "Pt: %s\r\n", instance->generic.protocol_name, instance->generic.data_count_bit, diff --git a/lib/subghz/protocols/secplus_v1.c b/lib/subghz/protocols/secplus_v1.c index a352cae1b..7dc78ec57 100644 --- a/lib/subghz/protocols/secplus_v1.c +++ b/lib/subghz/protocols/secplus_v1.c @@ -597,11 +597,11 @@ void subghz_protocol_decoder_secplus_v1_get_string(void* context, FuriString* ou furi_string_cat_printf(output, "\r\n"); } - // use 'Count:' instead of 'Cnt:' to exclude this protocol counter from Counter edit + // use 'Cntr:' instead of 'Cnt:' to exclude this protocol counter from Counter edit furi_string_cat_printf( output, "Sn:0x%08lX\r\n" - "Count:%03lX " + "Cntr:%03lX " "SwID:0x%X\r\n", instance->generic.serial, instance->generic.cnt, @@ -620,7 +620,7 @@ void subghz_protocol_decoder_secplus_v1_get_string(void* context, FuriString* ou furi_string_cat_printf( output, "Sn:0x%08lX\r\n" - "Count:%03lX " + "Cntr:%03lX " "SwID:0x%X\r\n", instance->generic.serial, instance->generic.cnt,