diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-24 17:35:29 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-24 17:35:29 +0100 |
commit | 15f8e5acf12125eb4fb7b3d5d530b3e27c25f34c (patch) | |
tree | 48b28637049987c2f4fdbaf290edd59c6d72d2cb /src/modules/px4iofirmware | |
parent | c5cb3cfd2187c82b11bb1f12d644e77ecd807efc (diff) | |
download | px4-firmware-15f8e5acf12125eb4fb7b3d5d530b3e27c25f34c.tar.gz px4-firmware-15f8e5acf12125eb4fb7b3d5d530b3e27c25f34c.tar.bz2 px4-firmware-15f8e5acf12125eb4fb7b3d5d530b3e27c25f34c.zip |
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.
Diffstat (limited to 'src/modules/px4iofirmware')
-rw-r--r-- | src/modules/px4iofirmware/px4io.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/px4iofirmware/px4io.c b/src/modules/px4iofirmware/px4io.c index e2da35939..d4c25911e 100644 --- a/src/modules/px4iofirmware/px4io.c +++ b/src/modules/px4iofirmware/px4io.c @@ -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(); |