summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-11 12:20:21 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-12 15:37:21 -0700
commitce4e0d32763853f3f230842984f244b0183397fb (patch)
treed60c817abed34b3c1ae05be3d93121939733d07a /core
parent612f1b478f785331504fc4a22c1546536d2f345f (diff)
downloadsubsurface-ce4e0d32763853f3f230842984f244b0183397fb.tar.gz
Use hex USB VID/PID
Except of course that the Android intent does give us these values in decimal. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/serial_ftdi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c
index d6c97f577..86d27c9ff 100644
--- a/core/serial_ftdi.c
+++ b/core/serial_ftdi.c
@@ -127,11 +127,11 @@ static int serial_ftdi_open_device (struct ftdi_context *ftdi_ctx)
{
INFO(0, "serial_ftdi_open_device called");
int accepted_pids[] = {
- 24577, 24592, 24593, // 0x6001, 0x6010, 0x6011x - Suunto (Smart Interface), Heinrichs Weikamp
- 24597, // 0x6015 - possibly Aqualung
- 62560, // 0xF460, Oceanic
- 63104, // 0xF680, Suunto
- 34768, // 0x87D0, Cressi (Leonardo)
+ 0x6001, 0x6010, 0x6011, // Suunto (Smart Interface), Heinrichs Weikamp
+ 0x6015, // possibly Aqualung
+ 0xF460, // Oceanic
+ 0xF680, // Suunto
+ 0x87D0, // Cressi (Leonardo)
};
int num_accepted_pids = 6;
int i, pid, ret;