X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=libaltos%2Flibaltos_common.c;h=713a775c6f70c9acee6011705b5aa6256cd06bc2;hb=refs%2Fheads%2Fbranch-1.9;hp=fb8c314e3ae1b5f233d605090bbed39147f8a8e2;hpb=91ab3acc113dc24e1ebce89875def646e590fb12;p=fw%2Faltos diff --git a/libaltos/libaltos_common.c b/libaltos/libaltos_common.c index fb8c314e..a2f25735 100644 --- a/libaltos/libaltos_common.c +++ b/libaltos/libaltos_common.c @@ -89,10 +89,10 @@ static const struct bt_vendor_map altos_bt_vendor_map[] = { { .vendor = "00:12:6f:", 1 }, /* Rayson */ { .vendor = "8c:de:52:", 6 }, /* ISSC */ { .vendor = "d8:80:39:", 6 }, /* Microchip */ + { .vendor = "04:91:62:", 6 }, /* New Microchip */ }; #define NUM_BT_VENDOR_MAP (sizeof altos_bt_vendor_map / sizeof altos_bt_vendor_map[0]) -#define BT_PORT_DEFAULT 1 static inline int ao_tolower(int c) { @@ -114,7 +114,7 @@ int altos_bt_port(struct altos_bt_device *device) { break; } } - return BT_PORT_DEFAULT; + return 0; } PUBLIC void