px4io: reduce upload retries 5 -> 2

This commit is contained in:
Daniel Agar 2021-08-16 21:20:53 -04:00
parent 6be7926ed3
commit 8434da6f79
1 changed files with 1 additions and 1 deletions

View File

@ -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;