diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-08-11 07:21:10 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-11 11:14:22 -0700 |
commit | a85d4a6447460ee796380620721493853a23d44b (patch) | |
tree | 3e51541294872d95e802525b50cc134da09c03c9 | |
parent | 9f94aaf450200d1aab1dd7aff43cd8cf58de57a5 (diff) | |
download | subsurface-a85d4a6447460ee796380620721493853a23d44b.tar.gz |
FTDI support: list PIDs in decimal everywhere
This makes it easier if we ever add one to make sure we find
all the places those need to be changed.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | core/serial_ftdi.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c index 9c410d834..d6c97f577 100644 --- a/core/serial_ftdi.c +++ b/core/serial_ftdi.c @@ -126,10 +126,12 @@ static dc_status_t serial_ftdi_sleep (void *io, unsigned int timeout) static int serial_ftdi_open_device (struct ftdi_context *ftdi_ctx) { INFO(0, "serial_ftdi_open_device called"); - int accepted_pids[] = { 0x6001, 0x6010, 0x6011, // Suunto (Smart Interface), Heinrichs Weikamp - 0xF460, // Oceanic - 0xF680, // Suunto - 0x87D0, // Cressi (Leonardo) + 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) }; int num_accepted_pids = 6; int i, pid, ret; |