From a85d4a6447460ee796380620721493853a23d44b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 11 Aug 2018 07:21:10 -0700 Subject: 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 --- core/serial_ftdi.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'core/serial_ftdi.c') 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; -- cgit v1.2.3-70-g09d2