mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 09:43:34 +08:00
dataman_client: increase px4_poll timeout to 100_ms
This commit is contained in:
@@ -89,7 +89,7 @@ bool DatamanClient::syncHandler(const dataman_request_s &request, dataman_respon
|
|||||||
|
|
||||||
while (!response_received && (time_elapsed < timeout)) {
|
while (!response_received && (time_elapsed < timeout)) {
|
||||||
|
|
||||||
uint32_t timeout_ms = 1;
|
uint32_t timeout_ms = 100;
|
||||||
ret = px4_poll(&_fds, 1, timeout_ms);
|
ret = px4_poll(&_fds, 1, timeout_ms);
|
||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user