aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/dsm.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-02-23 12:02:00 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-02-23 12:02:00 +0100
commita704acc2a20936d7e6d6828ae0ddf2cf7dc3578b (patch)
tree277132c96eab5b3433a22277dbe7739f1a780322 /apps/px4io/dsm.c
parentbe408451779dc53220ec94499a7acbe5ff3b8e7f (diff)
downloadpx4-firmware-a704acc2a20936d7e6d6828ae0ddf2cf7dc3578b.tar.gz
px4-firmware-a704acc2a20936d7e6d6828ae0ddf2cf7dc3578b.tar.bz2
px4-firmware-a704acc2a20936d7e6d6828ae0ddf2cf7dc3578b.zip
Out of memory warning, flash and RAM optimizations
Diffstat (limited to 'apps/px4io/dsm.c')
-rw-r--r--apps/px4io/dsm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/px4io/dsm.c b/apps/px4io/dsm.c
index f0e8e0f32..1719cf58c 100644
--- a/apps/px4io/dsm.c
+++ b/apps/px4io/dsm.c
@@ -248,18 +248,18 @@ dsm_guess_format(bool reset)
if ((votes11 == 1) && (votes10 == 0)) {
channel_shift = 11;
- debug("DSM: detected 11-bit format");
+ debug("DSM: 11-bit format");
return;
}
if ((votes10 == 1) && (votes11 == 0)) {
channel_shift = 10;
- debug("DSM: detected 10-bit format");
+ debug("DSM: 10-bit format");
return;
}
/* call ourselves to reset our state ... we have to try again */
- debug("DSM: format detector failed, 10: 0x%08x %d 11: 0x%08x %d", cs10, votes10, cs11, votes11);
+ debug("DSM: format detect fail, 10: 0x%08x %d 11: 0x%08x %d", cs10, votes10, cs11, votes11);
dsm_guess_format(true);
}