aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/px4io/px4io.cpp
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-06-18 10:00:08 +0200
committerJulian Oes <julian@oes.ch>2013-06-18 10:00:42 +0200
commitb5f4f1ee808c176c5dc0705b76584b438f151650 (patch)
treec2e22e5940caec1873e5760bc6ad220b7dfcac4a /src/drivers/px4io/px4io.cpp
parentcc452834c0dabd2689f5f102ce1cbbe714f056dd (diff)
downloadpx4-firmware-b5f4f1ee808c176c5dc0705b76584b438f151650.tar.gz
px4-firmware-b5f4f1ee808c176c5dc0705b76584b438f151650.tar.bz2
px4-firmware-b5f4f1ee808c176c5dc0705b76584b438f151650.zip
Adressed performance concern and fixed a copy paste bug
Diffstat (limited to 'src/drivers/px4io/px4io.cpp')
-rw-r--r--src/drivers/px4io/px4io.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp
index 6a596a987..be4dd5d19 100644
--- a/src/drivers/px4io/px4io.cpp
+++ b/src/drivers/px4io/px4io.cpp
@@ -1851,7 +1851,7 @@ px4io_main(int argc, char *argv[])
}
} else {
/* a zero value will the default */
- min[i] = 900;
+ min[i] = 0;
}
}
@@ -1886,7 +1886,7 @@ px4io_main(int argc, char *argv[])
}
} else {
/* a zero value will the default */
- max[i] = 2100;
+ max[i] = 0;
}
}