summaryrefslogtreecommitdiff
path: root/fastboot/usb_linux.cpp
diff options
context:
space:
mode:
authorAaron Wisner <awisner@google.com>2018-06-26 15:38:35 -0500
committerAaron Wisner <awisner@google.com>2018-07-19 15:16:47 -0500
commitdb511207ed3b2bb4fc422ef83868009b03692e61 (patch)
tree0a6c212d24658792a630db696be2ccfedb0a2a61 /fastboot/usb_linux.cpp
parent1fefb9f1294d3e270f1711f41e7c77a61213742b (diff)
Refactor libfastboot
This change creates a nice and clean API for issuing fastboot commands without using the fastboot tool itself. Test: fastboot tool itself (now using libfastboot2) on sailfish, walleye, and other devices. Test: flash bootloader bootloader.img Test: flash radio radio.img Test: -w update img.zip Test: Manually getvar and reboot commands. Bug: 111126621 Change-Id: I0022536b204ce0c5ad8329367fd522fa3c57877d
Diffstat (limited to 'fastboot/usb_linux.cpp')
-rw-r--r--fastboot/usb_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/usb_linux.cpp b/fastboot/usb_linux.cpp
index cdab4f1d2..386dd300c 100644
--- a/fastboot/usb_linux.cpp
+++ b/fastboot/usb_linux.cpp
@@ -47,8 +47,8 @@
#include <memory>
#include <thread>
-#include "fastboot.h"
#include "usb.h"
+#include "util.h"
using namespace std::chrono_literals;