clippy, fmt, docs
This commit is contained in:
parent
0515ca5eaa
commit
bab979ece3
@ -1,3 +1,3 @@
|
|||||||
#![no_std]
|
#![no_std]
|
||||||
use panic_probe as _;
|
|
||||||
use defmt_rtt as _;
|
use defmt_rtt as _;
|
||||||
|
use panic_probe as _;
|
||||||
|
@ -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")] {
|
||||||
|
@ -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() -> ! {
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user