mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 10:43:34 +08:00
nshterm: Hotfix for retries counter
This commit is contained in:
@@ -60,7 +60,7 @@ nshterm_main(int argc, char *argv[])
|
|||||||
printf("Usage: nshterm <device>\n");
|
printf("Usage: nshterm <device>\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
uint8_t retries = 0;
|
unsigned retries = 0;
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
|
|
||||||
/* try the first 30 seconds */
|
/* try the first 30 seconds */
|
||||||
|
|||||||
Reference in New Issue
Block a user