Moved unit_addr closer to the beginning so it's always in the same place for sorting.

This commit is contained in:
David E. Tiller 2022-04-08 13:35:57 -04:00
parent 2ea1a1892f
commit 89bc82b724
1 changed files with 4 additions and 4 deletions

View File

@ -255,12 +255,12 @@ void decode_basic_r2f(uint64_t pkt, char *text, int text_size) {
strlcat(text, "block=BASIC", text_size);
add_comma(text, text_size);
get_r2f_unit_addr_code(pkt, text, text_size);
add_comma(text, text_size);
get_r2f_dev_batt_stat(pkt, text, text_size);
add_comma(text, text_size);
get_r2f_msg_id_type(pkt, text, text_size);
add_comma(text, text_size);
get_r2f_unit_addr_code(pkt, text, text_size);
add_comma(text, text_size);
get_r2f_brake_pressure(pkt, text, text_size);
add_comma(text, text_size);
get_r2f_disc_bits(pkt, text, text_size);
@ -335,10 +335,10 @@ void decode_basic_f2r(uint64_t pkt, char *text, int text_size) {
strlcat(text, "block=BASIC", text_size);
add_comma(text, text_size);
get_f2r_msg_id_type(pkt, text, text_size);
add_comma(text, text_size);
get_f2r_unit_addr_code(pkt, text, text_size);
add_comma(text, text_size);
get_f2r_msg_id_type(pkt, text, text_size);
add_comma(text, text_size);
get_f2r_command(pkt, text, text_size);
}