diff options
Diffstat (limited to 'src/modules/px4iofirmware')
-rw-r--r-- | src/modules/px4iofirmware/sbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/px4iofirmware/sbus.c b/src/modules/px4iofirmware/sbus.c index 8296d90bc..d89021d24 100644 --- a/src/modules/px4iofirmware/sbus.c +++ b/src/modules/px4iofirmware/sbus.c @@ -213,9 +213,9 @@ sbus_input(uint16_t *values, uint16_t *num_values, bool *sbus_failsafe, bool *sb /* fall through */ case SBUS2_DECODE_STATE_SBUS2_SYNC: { - /* decode whatever we got and expect */ + /* decode whatever we got */ if (partial_frame_count < SBUS_FRAME_SIZE) - decode_ret = true; + decode_ret = false; /* * Great, it looks like we might have a frame. Go ahead and |