diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-24 17:33:04 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-24 17:33:04 +0100 |
commit | 92a6c7d7344ae0a463e0c04c3b5bc6cf8f4ddc53 (patch) | |
tree | 184d7c42d41177165694989a816fe5391df4f4b0 /src/drivers/px4io/uploader.h | |
parent | 73a483c2657d97619021b85759bc742f637cfff4 (diff) | |
download | px4-firmware-92a6c7d7344ae0a463e0c04c3b5bc6cf8f4ddc53.tar.gz px4-firmware-92a6c7d7344ae0a463e0c04c3b5bc6cf8f4ddc53.tar.bz2 px4-firmware-92a6c7d7344ae0a463e0c04c3b5bc6cf8f4ddc53.zip |
Set timeouts back to short, now that we have multiple tries in the uploader. This ensures we try often enough in the 200 ms IO bootloader wait phase to hit it.
Diffstat (limited to 'src/drivers/px4io/uploader.h')
-rw-r--r-- | src/drivers/px4io/uploader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/px4io/uploader.h b/src/drivers/px4io/uploader.h index 22387a3e2..55f63eef9 100644 --- a/src/drivers/px4io/uploader.h +++ b/src/drivers/px4io/uploader.h @@ -91,7 +91,7 @@ private: void drain(); int send(uint8_t c); int send(uint8_t *p, unsigned count); - int get_sync(unsigned timeout = 1000); + int get_sync(unsigned timeout = 40); int sync(); int get_info(int param, uint32_t &val); int erase(); |