mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +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")) {
|
||||
|
||||
constexpr unsigned MAX_RETRIES = 5;
|
||||
constexpr unsigned MAX_RETRIES = 2;
|
||||
unsigned retries = 0;
|
||||
int ret = PX4_ERROR;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user