mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
[telemetry] reverse order of messages to send periodicaly
This way, messages that are send at low frequency have less chance to be discarded if the uart buffer is filled by too many messages at the same time. Higher frequency messages are most likely to find an empty slot.
This commit is contained in:
@@ -92,7 +92,7 @@ let output_modes = fun out_h process_name modes freq modules ->
|
|||||||
left ();
|
left ();
|
||||||
lprintf out_h "}\n"
|
lprintf out_h "}\n"
|
||||||
)
|
)
|
||||||
messages;
|
(List.rev messages);
|
||||||
left ();
|
left ();
|
||||||
lprintf out_h "}\n")
|
lprintf out_h "}\n")
|
||||||
modes
|
modes
|
||||||
|
|||||||
Reference in New Issue
Block a user