RC_Channel: ensure _reverse is not 0

this caused the example to fail
This commit is contained in:
Andrew Tridgell 2012-10-16 15:50:29 +11:00
parent f48568c9a6
commit 86b509a609

View File

@ -23,6 +23,9 @@ public:
_filter(false),
_high(1),
_ch_out(ch_out) {
if (_reverse == 0) {
_reverse = 1;
}
}
// setup min and max radio values in CLI