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:
parent
0c8c148b51
commit
a39cbdbcb1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user