diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-14 17:12:52 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-16 07:58:20 -0700 |
commit | c2077992ff6e896e6b68df3d8b539a912b0fc325 (patch) | |
tree | 7eef149bfd5aee976405ed3a781bd27267ca93df /core/serial_usb_android.h | |
parent | d953c645e96aea092952653adb92280fe4c225f8 (diff) | |
download | subsurface-c2077992ff6e896e6b68df3d8b539a912b0fc325.tar.gz |
android/usb: guess the actual manufacturer and product
For a small number of dive computers we can actually figure out the
real information which we can then later show to the user.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/serial_usb_android.h')
-rw-r--r-- | core/serial_usb_android.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/serial_usb_android.h b/core/serial_usb_android.h index f2c124712..37083c7cf 100644 --- a/core/serial_usb_android.h +++ b/core/serial_usb_android.h @@ -11,6 +11,8 @@ struct android_usb_serial_device_descriptor { std::string uiRepresentation; /* The string that can be used for the user interface. */ // Device information + std::string usbManufacturer; + std::string usbProduct; std::string manufacturer; std::string product; uint16_t pid; |