diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-20 09:36:26 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-20 09:36:26 +0200 |
commit | 95260d453592903bfcd3dba9379db033738d5b89 (patch) | |
tree | 36a2a7ac18d0ae36682d0790e99af63f307e6187 /src/systemcmds | |
parent | 16559313db86a4dfaeee9d6364deb3bc567bf99c (diff) | |
download | px4-firmware-95260d453592903bfcd3dba9379db033738d5b89.tar.gz px4-firmware-95260d453592903bfcd3dba9379db033738d5b89.tar.bz2 px4-firmware-95260d453592903bfcd3dba9379db033738d5b89.zip |
Fixed NSH terminal init
Diffstat (limited to 'src/systemcmds')
-rw-r--r-- | src/systemcmds/nshterm/nshterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemcmds/nshterm/nshterm.c b/src/systemcmds/nshterm/nshterm.c index 41d108ffc..458bb2259 100644 --- a/src/systemcmds/nshterm/nshterm.c +++ b/src/systemcmds/nshterm/nshterm.c @@ -62,7 +62,7 @@ nshterm_main(int argc, char *argv[]) } uint8_t retries = 0; int fd = -1; - while (retries < 5) { + while (retries < 50) { /* the retries are to cope with the behaviour of /dev/ttyACM0 */ /* which may not be ready immediately. */ fd = open(argv[1], O_RDWR); |