Skip to content

Commit

Permalink
added mouse template parameter for endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
itzandroidtab authored Aug 11, 2024
1 parent b09d0f5 commit e149bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int main() {
target::io::system::clock::set_usb<12'000'000>();

// get the usb hardware
using usb = target::io::usb<target::io::periph::lqfp_80::usb0, klib::usb::device::mouse_hid>;
using usb = target::io::usb<target::io::periph::lqfp_80::usb0, klib::usb::device::mouse_hid<1>>;

// init the usb hardware
usb::init();
Expand Down

0 comments on commit e149bc6

Please sign in to comment.