mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
add 1hz mavlink loop.
This commit is contained in:
parent
923a03deaf
commit
21143d87b5
@ -913,8 +913,8 @@ static void slow_loop()
|
||||
update_lights();
|
||||
|
||||
// send all requested output streams with rates requested
|
||||
// between 1 and 5 Hz
|
||||
gcs_data_stream_send(1,5);
|
||||
// between 3 and 5 Hz
|
||||
gcs_data_stream_send(3,5);
|
||||
|
||||
if(g.radio_tuning > 0)
|
||||
tuning();
|
||||
@ -947,6 +947,7 @@ static void super_slow_loop()
|
||||
Log_Write_Current();
|
||||
|
||||
gcs_send_message(MSG_HEARTBEAT);
|
||||
gcs_data_stream_send(1,3);
|
||||
// agmatthews - USERHOOKS
|
||||
#ifdef USERHOOK_SUPERSLOWLOOP
|
||||
USERHOOK_SUPERSLOWLOOP
|
||||
|
Loading…
Reference in New Issue
Block a user