Loading fastboot/fastboot_driver.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -462,6 +462,10 @@ RetCode FastBootDriver::SendBuffer(const std::vector<char>& buf) { } } RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { if (!size) { return SUCCESS; } // Write the buffer // Write the buffer ssize_t tmp = transport->Write(buf, size); ssize_t tmp = transport->Write(buf, size); Loading Loading
fastboot/fastboot_driver.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -462,6 +462,10 @@ RetCode FastBootDriver::SendBuffer(const std::vector<char>& buf) { } } RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { if (!size) { return SUCCESS; } // Write the buffer // Write the buffer ssize_t tmp = transport->Write(buf, size); ssize_t tmp = transport->Write(buf, size); Loading