mirror of https://github.com/wb2osz/direwolf.git
Moved unit_addr closer to the beginning so it's always in the same place for sorting.
This commit is contained in:
parent
2ea1a1892f
commit
89bc82b724
|
@ -255,12 +255,12 @@ void decode_basic_r2f(uint64_t pkt, char *text, int text_size) {
|
||||||
|
|
||||||
strlcat(text, "block=BASIC", text_size);
|
strlcat(text, "block=BASIC", text_size);
|
||||||
add_comma(text, 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);
|
get_r2f_dev_batt_stat(pkt, text, text_size);
|
||||||
add_comma(text, text_size);
|
add_comma(text, text_size);
|
||||||
get_r2f_msg_id_type(pkt, text, text_size);
|
get_r2f_msg_id_type(pkt, text, text_size);
|
||||||
add_comma(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);
|
get_r2f_brake_pressure(pkt, text, text_size);
|
||||||
add_comma(text, text_size);
|
add_comma(text, text_size);
|
||||||
get_r2f_disc_bits(pkt, 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);
|
strlcat(text, "block=BASIC", text_size);
|
||||||
add_comma(text, 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);
|
get_f2r_unit_addr_code(pkt, text, text_size);
|
||||||
add_comma(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);
|
get_f2r_command(pkt, text, text_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue