mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:23:23 +00:00
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>
This commit is contained in:
parent
9f94aaf450
commit
a85d4a6447
1 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue