Skip to content

Commit

Permalink
chore: cleanup linter error
Browse files Browse the repository at this point in the history
Signed-off-by: Marvin Drees <[email protected]>
  • Loading branch information
MDr164 committed Aug 30, 2024
1 parent da76c28 commit 48800aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@ async fn usb_task(mut usb: CustomUsbDevice) -> ! {
}

#[embassy_executor::task]
async fn logger_task(class: CdcAcmClass<'static, CustomUsbDriver>) -> () {
async fn logger_task(class: CdcAcmClass<'static, CustomUsbDriver>) {
with_class!(1024, log::LevelFilter::Info, class).await
}

#[embassy_executor::task]
async fn uart_task(class: CdcAcmClass<'static, CustomUsbDriver>, r: UartResources) -> () {
async fn uart_task(class: CdcAcmClass<'static, CustomUsbDriver>, r: UartResources) {
let config = UartConfig::default(); // TODO: make this configurable

let uart = Uart::new(
Expand Down

0 comments on commit 48800aa

Please sign in to comment.