From ce4e0d32763853f3f230842984f244b0183397fb Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 11 Aug 2018 12:20:21 -0700 Subject: Use hex USB VID/PID Except of course that the Android intent does give us these values in decimal. Signed-off-by: Dirk Hohndel --- core/serial_ftdi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core') 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; -- cgit v1.2.3-70-g09d2