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.

This commit is contained in:
Lorenz Meier 2014-01-24 17:35:29 +01:00
parent c5cb3cfd21
commit 15f8e5acf1
1 changed files with 4 additions and 2 deletions

View File

@ -295,10 +295,12 @@ user_start(int argc, char *argv[])
check_reboot();
/* check for debug activity */
/* check for debug activity (default: none) */
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)) {
struct mallinfo minfo = mallinfo();