Browse Source

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.

sbg
Lorenz Meier 11 years ago
parent
commit
92a6c7d734
  1. 2
      src/drivers/px4io/uploader.h

2
src/drivers/px4io/uploader.h

@ -91,7 +91,7 @@ private: @@ -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();

Loading…
Cancel
Save