1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

RadioBridge: Send data from UAVTalk non blocking, otherwise it can lock up the packet handler.

This commit is contained in:
James Cotton 2012-10-03 10:43:03 -05:00
parent 0c8c148b51
commit a39cbdbcb1

View File

@ -717,7 +717,7 @@ static int32_t UAVTalkSend(UAVTalkComTaskParams *params, uint8_t *buf, int32_t l
}
#endif /* PIOS_INCLUDE_USB */
if(outputPort)
return PIOS_COM_SendBuffer(outputPort, buf, length);
return PIOS_COM_SendBufferNonBlocking(outputPort, buf, length);
else
return -1;
}