diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-23 22:27:04 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-23 22:27:04 +0100 |
commit | 8bdbce5fe2893353bf9582294c28ab2831f96a9d (patch) | |
tree | 8808535f4b98e4a71e1a2710900e4694e2c2e9fe /src/modules | |
parent | 0c116e8de5c5c958b9463f147576f3e0377c4c00 (diff) | |
download | px4-firmware-8bdbce5fe2893353bf9582294c28ab2831f96a9d.tar.gz px4-firmware-8bdbce5fe2893353bf9582294c28ab2831f96a9d.tar.bz2 px4-firmware-8bdbce5fe2893353bf9582294c28ab2831f96a9d.zip |
We do not know all secret S.BUS2 codes yet
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/px4iofirmware/sbus.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/px4iofirmware/sbus.c b/src/modules/px4iofirmware/sbus.c index 4efa72dc1..495447740 100644 --- a/src/modules/px4iofirmware/sbus.c +++ b/src/modules/px4iofirmware/sbus.c @@ -241,9 +241,8 @@ sbus_decode(hrt_abstime frame_time, uint16_t *values, uint16_t *num_values, uint case 0xE3: break; default: - /* we expect one of these, else abort */ - sbus_frame_drops++; - return false; + /* we expect one of the bits above, but there are some we don't know yet */ + break; } /* we have received something we think is a frame */ |