mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
text fixes
This commit is contained in:
@@ -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_hi = instance->generic.data >> 32;
|
||||||
uint32_t code_found_lo = instance->generic.data & 0x00000000ffffffff;
|
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(
|
furi_string_cat_printf(
|
||||||
output,
|
output,
|
||||||
"%s %dbit\r\n"
|
"%s %dbit\r\n"
|
||||||
"Key:%08lX%08lX\r\n"
|
"Key:%08lX%08lX\r\n"
|
||||||
"Sn:%07lX Btn:%X\r\n"
|
"Sn:%07lX Btn:%X\r\n"
|
||||||
"Count:%04lX\r\n",
|
"Cntr:%04lX\r\n",
|
||||||
instance->generic.protocol_name,
|
instance->generic.protocol_name,
|
||||||
instance->generic.data_count_bit,
|
instance->generic.data_count_bit,
|
||||||
code_found_hi,
|
code_found_hi,
|
||||||
|
|||||||
@@ -297,12 +297,13 @@ void subghz_protocol_decoder_scher_khan_get_string(void* context, FuriString* ou
|
|||||||
subghz_protocol_scher_khan_check_remote_controller(
|
subghz_protocol_scher_khan_check_remote_controller(
|
||||||
&instance->generic, &instance->protocol_name);
|
&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(
|
furi_string_cat_printf(
|
||||||
output,
|
output,
|
||||||
"%s %dbit\r\n"
|
"%s %dbit\r\n"
|
||||||
"Key:0x%lX%08lX\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",
|
"Pt: %s\r\n",
|
||||||
instance->generic.protocol_name,
|
instance->generic.protocol_name,
|
||||||
instance->generic.data_count_bit,
|
instance->generic.data_count_bit,
|
||||||
|
|||||||
@@ -597,11 +597,11 @@ void subghz_protocol_decoder_secplus_v1_get_string(void* context, FuriString* ou
|
|||||||
furi_string_cat_printf(output, "\r\n");
|
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(
|
furi_string_cat_printf(
|
||||||
output,
|
output,
|
||||||
"Sn:0x%08lX\r\n"
|
"Sn:0x%08lX\r\n"
|
||||||
"Count:%03lX "
|
"Cntr:%03lX "
|
||||||
"SwID:0x%X\r\n",
|
"SwID:0x%X\r\n",
|
||||||
instance->generic.serial,
|
instance->generic.serial,
|
||||||
instance->generic.cnt,
|
instance->generic.cnt,
|
||||||
@@ -620,7 +620,7 @@ void subghz_protocol_decoder_secplus_v1_get_string(void* context, FuriString* ou
|
|||||||
furi_string_cat_printf(
|
furi_string_cat_printf(
|
||||||
output,
|
output,
|
||||||
"Sn:0x%08lX\r\n"
|
"Sn:0x%08lX\r\n"
|
||||||
"Count:%03lX "
|
"Cntr:%03lX "
|
||||||
"SwID:0x%X\r\n",
|
"SwID:0x%X\r\n",
|
||||||
instance->generic.serial,
|
instance->generic.serial,
|
||||||
instance->generic.cnt,
|
instance->generic.cnt,
|
||||||
|
|||||||
Reference in New Issue
Block a user