Rover: use set_dataflash() for static logging

This commit is contained in:
Tom Pittenger 2016-02-23 13:01:46 -08:00 committed by Andrew Tridgell
parent ad78a31255
commit c38bec6385

View File

@ -135,6 +135,8 @@ void Rover::init_ardupilot()
log_init();
#endif
GCS_MAVLINK::set_dataflash(&DataFlash);
// Register mavlink_delay_cb, which will run anytime you have
// more than 5ms remaining in your call to hal.scheduler->delay
hal.scheduler->register_delay_callback(mavlink_delay_cb_static, 5);