Browse Source

AP_InertialSensor: examples: add coding style fixes

Several coding style problems were already fixed by previous commit,
just finish the cleanup on this example:

  - replace tabs with spaces
  - remove unneeded \r
  - remove extra spaces
master
Lucas De Marchi 9 years ago
parent
commit
f304fcf4da
  1. 9
      libraries/AP_InertialSensor/examples/INS_generic/INS_generic.cpp

9
libraries/AP_InertialSensor/examples/INS_generic/INS_generic.cpp

@ -39,10 +39,10 @@ void loop(void) @@ -39,10 +39,10 @@ void loop(void)
hal.console->println();
hal.console->println(
"Menu:\r\n"
" d) display offsets and scaling\r\n"
" l) level (capture offsets from level)\r\n"
" t) test\r\n"
"Menu:\n"
" d) display offsets and scaling\n"
" l) level (capture offsets from level)\n"
" t) test\n"
" r) reboot");
// wait for user input
@ -111,7 +111,6 @@ static void run_test() @@ -111,7 +111,6 @@ static void run_test()
// loop as long as user does not press a key
while (!hal.console->available()) {
// wait until we have a sample
ins.wait_for_sample();

Loading…
Cancel
Save