We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c604b30 commit 210bd6dCopy full SHA for 210bd6d
src/bin/main.rs
@@ -130,8 +130,10 @@ mod app {
130
}
131
132
133
+ #[inline(never)]
134
+ #[link_section = ".data.usb_handler"]
135
#[task(binds = OTG_FS, local = [producer, usb_dev, serial])]
- fn otg_fs(cx: otg_fs::Context) {
136
+ fn usb_handler(cx: usb_handler::Context) {
137
let producer: &mut bbqueue::Producer<'static, BUFFER_SIZE> = cx.local.producer;
138
let usb_dev: &mut UsbDevice<UsbBusType> = cx.local.usb_dev;
139
let serial: &mut SerialPort<UsbBusType> = cx.local.serial;
0 commit comments