aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)