1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-19 09:54:15 +01:00

SBUS: Missed handling the S.Bus failsafe. Now returns PIOS_RVCR_TIMEOUT for

either SBus failsafe mode or when no data for 100 ms.
This commit is contained in:
James Cotton 2011-09-04 12:15:34 -05:00
parent 510a1760ca
commit 533ae9bb41

View File

@ -59,7 +59,7 @@ static void PIOS_SBUS_Supervisor(uint32_t sbus_id);
static void reset_channels(void)
{
for (int i = 0; i < SBUS_NUMBER_OF_CHANNELS; i++) {
channel_data[i] = 0;
channel_data[i] = PIOS_RCVR_TIMEOUT;
}
}