Rover: use set_dataflash() for static logging
This commit is contained in:
parent
ad78a31255
commit
c38bec6385
@ -135,6 +135,8 @@ void Rover::init_ardupilot()
|
|||||||
log_init();
|
log_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
GCS_MAVLINK::set_dataflash(&DataFlash);
|
||||||
|
|
||||||
// Register mavlink_delay_cb, which will run anytime you have
|
// Register mavlink_delay_cb, which will run anytime you have
|
||||||
// more than 5ms remaining in your call to hal.scheduler->delay
|
// more than 5ms remaining in your call to hal.scheduler->delay
|
||||||
hal.scheduler->register_delay_callback(mavlink_delay_cb_static, 5);
|
hal.scheduler->register_delay_callback(mavlink_delay_cb_static, 5);
|
||||||
|
Loading…
Reference in New Issue
Block a user