mavlink_command_sender: add some log printfs

This improves the printfs which will be logged. This should improve to
debug the camera triggering. The debug printfs are disabled by default.
This commit is contained in:
Julian Oes
2017-08-16 09:47:50 +02:00
parent 31edab6d6d
commit ba150566c6
2 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ private:
mavlink_command_long_t command = {};
hrt_abstime timestamp_us = 0;
hrt_abstime last_time_sent_us = 0;
int8_t num_sent_per_channel[MAX_MAVLINK_CHANNEL] = {-1, -1, -1, -1};
int8_t num_sent_per_channel[MAX_MAVLINK_CHANNEL] = { -1, -1, -1, -1};
} command_item_t;
TimestampedList<command_item_t> _commands;