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