clippy, fmt, docs

This commit is contained in:
Robin Müller 2025-04-12 16:54:57 +02:00
parent 0515ca5eaa
commit bab979ece3
Signed by: muellerr
GPG Key ID: A649FB78196E3849
6 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
#![no_std] #![no_std]
use panic_probe as _;
use defmt_rtt as _; use defmt_rtt as _;
use panic_probe as _;

View File

@ -1,8 +1,8 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
use embassy_example as _;
use embassy_executor::Spawner; use embassy_executor::Spawner;
use embassy_time::{Duration, Instant, Ticker}; use embassy_time::{Duration, Instant, Ticker};
use embassy_example as _;
cfg_if::cfg_if! { cfg_if::cfg_if! {
if #[cfg(feature = "custom-irqs")] { if #[cfg(feature = "custom-irqs")] {

View File

@ -3,8 +3,8 @@
#![no_std] #![no_std]
use cortex_m_rt::entry; use cortex_m_rt::entry;
use va108xx_hal as _;
use panic_rtt_target as _; use panic_rtt_target as _;
use va108xx_hal as _;
#[entry] #[entry]
fn main() -> ! { fn main() -> ! {

View File

@ -3,9 +3,9 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use defmt_rtt as _; // global logger
use num_enum::TryFromPrimitive; use num_enum::TryFromPrimitive;
use panic_probe as _; use panic_probe as _;
use defmt_rtt as _; // global logger
use ringbuf::{ use ringbuf::{
traits::{Consumer, Observer, Producer}, traits::{Consumer, Observer, Producer},
StaticRb, StaticRb,