aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-08-06 18:22:55 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-08-06 18:22:55 +0200
commit1b7fbd0f8e0e4022f0ee102d0429771d5449a3a9 (patch)
treebd2c8289e032e7ce5e924f87009a771ea0442ece
parentffb8e89885c66d8d7dee104773c29e322265daa0 (diff)
downloadWirecutter-1b7fbd0f8e0e4022f0ee102d0429771d5449a3a9.tar.gz
Wirecutter-1b7fbd0f8e0e4022f0ee102d0429771d5449a3a9.zip
revert bad link, display device info in hex
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/xinput.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a24869b..c9797b6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -20,6 +20,7 @@ pico_add_extra_outputs(wirecutter)
target_link_libraries(wirecutter PUBLIC
pico_stdlib
pico_cyw43_arch_none
+ pico_btstack_cyw43
pico_btstack_classic
tinyusb_host
tinyusb_board
diff --git a/src/xinput.c b/src/xinput.c
index 18efacd..e1ebed4 100644
--- a/src/xinput.c
+++ b/src/xinput.c
@@ -81,7 +81,7 @@ void handle_device_descriptor(tuh_xfer_t* xfer)
}
change_device_id(dev_desc.idVendor, dev_desc.idProduct);
- TU_LOG1("Updated device id to %d:%d\n", dev_desc.idVendor, dev_desc.idProduct);
+ TU_LOG1("Updated device id to %04x:%04x\n", dev_desc.idVendor, dev_desc.idProduct);
}
void tuh_xinput_mount_cb(uint8_t dev_addr, uint8_t instance, const xinputh_interface_t *xinput_itf)