Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50acca72 authored by Aaron Wisner's avatar Aaron Wisner
Browse files

Increase fastboot timeout to 30 seconds

Some OEM commands can take quite a while.
The current 10 second timeout is too small.

Test: fastboot tool
Change-Id: Icf59615919c92dc85807abe3ec5793504cf7a162
parent 081b710b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ enum RetCode : int {

class FastBootDriver {
  public:
    static constexpr int RESP_TIMEOUT = 10;  // 10 seconds
    static constexpr int RESP_TIMEOUT = 30;  // 30 seconds
    static constexpr uint32_t MAX_DOWNLOAD_SIZE = std::numeric_limits<uint32_t>::max();
    static constexpr size_t TRANSPORT_CHUNK_SIZE = 1024;