diff --git a/fastboot/fastboot_driver.cpp b/fastboot/fastboot_driver.cpp index 65a52475d..fea0a77e5 100644 --- a/fastboot/fastboot_driver.cpp +++ b/fastboot/fastboot_driver.cpp @@ -403,7 +403,7 @@ RetCode FastBootDriver::DownloadCommand(uint32_t size, std::string* response, RetCode FastBootDriver::HandleResponse(std::string* response, std::vector* info, int* dsize) { char status[FB_RESPONSE_SZ + 1]; - auto start = std::chrono::system_clock::now(); + auto start = std::chrono::steady_clock::now(); auto set_response = [response](std::string s) { if (response) *response = std::move(s); @@ -414,7 +414,7 @@ RetCode FastBootDriver::HandleResponse(std::string* response, std::vectorRead(status, FB_RESPONSE_SZ); if (r < 0) { error_ = ErrnoStr("Status read failed"); @@ -427,6 +427,11 @@ RetCode FastBootDriver::HandleResponse(std::string* response, std::vector