diff options
author | px4dev <px4@purgatory.org> | 2012-09-04 23:37:56 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-09-04 23:37:56 -0700 |
commit | 86a2a4fb9fd2b5ed38b330923823e06b96af01f3 (patch) | |
tree | 55dc09c80814b563284e3408cb3e7bb7de5664ac /apps | |
parent | 41dde1ea641f1944afc2d841b4caab0498c529e0 (diff) | |
download | px4-firmware-86a2a4fb9fd2b5ed38b330923823e06b96af01f3.tar.gz px4-firmware-86a2a4fb9fd2b5ed38b330923823e06b96af01f3.tar.bz2 px4-firmware-86a2a4fb9fd2b5ed38b330923823e06b96af01f3.zip |
Turn off more debug output.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/sensors/sensors.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/sensors/sensors.cpp b/apps/sensors/sensors.cpp index 79f9c19e7..224474c08 100644 --- a/apps/sensors/sensors.cpp +++ b/apps/sensors/sensors.cpp @@ -779,8 +779,6 @@ Sensors::parameter_update_poll(bool forced) struct parameter_update_s update; orb_copy(ORB_ID(parameter_update), _params_sub, &update); - printf("PARAMS UPDATED\n"); - /* update parameters */ parameters_update(); @@ -824,7 +822,7 @@ Sensors::parameter_update_poll(bool forced) warn("WARNING: failed to set scale / offsets for mag"); close(fd); -#if 1 +#if 0 printf("CH0: RAW MAX: %d MIN %d S: %d MID: %d FUNC: %d\n", (int)_parameters.max[0], (int)_parameters.min[0], (int)(_rc.chan[0].scaling_factor*10000), (int)(_rc.chan[0].mid), (int)_rc.function[0]); printf("CH1: RAW MAX: %d MIN %d S: %d MID: %d FUNC: %d\n", (int)_parameters.max[1], (int)_parameters.min[1], (int)(_rc.chan[1].scaling_factor*10000), (int)(_rc.chan[1].mid), (int)_rc.function[1]); printf("MAN: %d %d\n", (int)(_rc.chan[0].scaled*100), (int)(_rc.chan[1].scaled*100)); |