Add rc input to cli planner mode

This commit is contained in:
Michael Oborne 2011-11-26 11:23:14 +08:00
parent 10330abf54
commit f66a6b4308
2 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,8 @@ planner_gcs(uint8_t argc, const Menu::arg *argv)
gcs_update(); gcs_update();
read_radio();
gcs_data_stream_send(45, 1000); gcs_data_stream_send(45, 1000);
if ((loopcount % 5) == 0) // 10 hz if ((loopcount % 5) == 0) // 10 hz

View File

@ -34,6 +34,9 @@ planner_gcs(uint8_t argc, const Menu::arg *argv)
fast_loopTimer = millis(); fast_loopTimer = millis();
gcs_update(); gcs_update();
read_radio();
gcs_data_stream_send(45,1000); gcs_data_stream_send(45,1000);
if ((loopcount % 5) == 0) // 10 hz if ((loopcount % 5) == 0) // 10 hz
gcs_data_stream_send(5,45); gcs_data_stream_send(5,45);