Browse Source

Make in the comments explicit that we don’t do anything here under normal circumstances to make it less tempting to comment out the helpful debug tools in this section.

sbg
Lorenz Meier 11 years ago
parent
commit
15f8e5acf1
  1. 6
      src/modules/px4iofirmware/px4io.c

6
src/modules/px4iofirmware/px4io.c

@ -295,10 +295,12 @@ user_start(int argc, char *argv[])
check_reboot(); check_reboot();
/* check for debug activity */ /* check for debug activity (default: none) */
show_debug_messages(); show_debug_messages();
/* post debug state at ~1Hz */ /* post debug state at ~1Hz - this is via an auxiliary serial port
* DEFAULTS TO OFF!
*/
if (hrt_absolute_time() - last_debug_time > (1000 * 1000)) { if (hrt_absolute_time() - last_debug_time > (1000 * 1000)) {
struct mallinfo minfo = mallinfo(); struct mallinfo minfo = mallinfo();

Loading…
Cancel
Save