mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-29 08:04:07 +08:00
px4io: reduce upload retries 5 -> 2
This commit is contained in:
parent
6be7926ed3
commit
8434da6f79
@ -3468,7 +3468,7 @@ px4io_main(int argc, char *argv[])
|
||||
|
||||
if (!strcmp(argv[1], "update")) {
|
||||
|
||||
constexpr unsigned MAX_RETRIES = 5;
|
||||
constexpr unsigned MAX_RETRIES = 2;
|
||||
unsigned retries = 0;
|
||||
int ret = PX4_ERROR;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user