diff options
author | Puma Hsu <pumahsu@google.com> | 2021-08-29 22:16:47 +0800 |
---|---|---|
committer | Puma Hsu <pumahsu@google.com> | 2021-08-29 22:16:47 +0800 |
commit | b0427036169d41df92d738befb78231bb61742f8 (patch) | |
tree | 3d53134a4b453286f26c82fa0b2fdec7986918ae | |
parent | a3405150906db9b5aae549956638a02da88ea516 (diff) |
Usb Gadget HAL: support usbuwb bootmode
In previous we created a new bootmode "uwb" which will enable
the ACM port, but the name was wrong. Rename it as "usbuwb"
Bug: 187877902
Test: ACM port can be enabled
Signed-off-by: Puma Hsu <pumahsu@google.com>
Change-Id: Iac381109379e6646be36cfdd26af033a1f6b8038
-rw-r--r-- | usb/UsbGadgetUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usb/UsbGadgetUtils.cpp b/usb/UsbGadgetUtils.cpp index 7b4d35d..7da4b78 100644 --- a/usb/UsbGadgetUtils.cpp +++ b/usb/UsbGadgetUtils.cpp @@ -100,7 +100,7 @@ std::string getVendorFunctions() { if (vendorFunctions != "") { ret = vendorFunctions; } else if (bootMode == "usbradio" || bootMode == "factory" || bootMode == "ffbm-00" || - bootMode == "ffbm-01" || bootMode == "uwb") { + bootMode == "ffbm-01" || bootMode == "usbuwb") { if (persistVendorFunctions != "") ret = persistVendorFunctions; else |