From 81064f8e433e8949d4fd2b20e1a7d05a1d19e270 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Fri, 10 Feb 2023 23:32:49 +0300 Subject: [PATCH] Alutech display text fixes --- lib/subghz/protocols/alutech_at_4n.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/subghz/protocols/alutech_at_4n.c b/lib/subghz/protocols/alutech_at_4n.c index 2050ab2cc..f8e6eb873 100644 --- a/lib/subghz/protocols/alutech_at_4n.c +++ b/lib/subghz/protocols/alutech_at_4n.c @@ -670,16 +670,15 @@ void subghz_protocol_decoder_alutech_at_4n_get_string(void* context, FuriString* furi_string_cat_printf( output, - "%s %d\r\n" - "Key:0x%08lX%08lX%02X\r\n" + "%s\r\n" + "Key:0x%08lX%08lX\nCRC:%02X %dbit\r\n" "Sn:0x%08lX Btn:0x%01X\r\n" - "Cnt:0x%03lX\r\n", - + "Cnt:0x%04lX\r\n", instance->generic.protocol_name, - instance->generic.data_count_bit, code_found_hi, code_found_lo, (uint8_t)instance->crc, + instance->generic.data_count_bit, instance->generic.serial, instance->generic.btn, instance->generic.cnt);