make ci happy
This commit is contained in:
parent
561356f68a
commit
a33e7172f6
@ -6,7 +6,9 @@ teleprobe_meta::target!(b"rpi-pico");
|
|||||||
#[cfg(feature = "rp235xb")]
|
#[cfg(feature = "rp235xb")]
|
||||||
teleprobe_meta::target!(b"pimoroni-pico-plus-2");
|
teleprobe_meta::target!(b"pimoroni-pico-plus-2");
|
||||||
|
|
||||||
use defmt::{assert, assert_eq, info};
|
use defmt::info;
|
||||||
|
#[cfg(feature = "rp2040")]
|
||||||
|
use defmt::{assert, assert_eq};
|
||||||
use embassy_executor::Spawner;
|
use embassy_executor::Spawner;
|
||||||
use embassy_rp::clocks;
|
use embassy_rp::clocks;
|
||||||
#[cfg(feature = "rp2040")]
|
#[cfg(feature = "rp2040")]
|
||||||
@ -21,7 +23,10 @@ const COUNT_TO: i64 = 10_000_000;
|
|||||||
|
|
||||||
#[embassy_executor::main]
|
#[embassy_executor::main]
|
||||||
async fn main(_spawner: Spawner) {
|
async fn main(_spawner: Spawner) {
|
||||||
|
#[cfg(feature = "rp2040")]
|
||||||
let mut config = Config::default();
|
let mut config = Config::default();
|
||||||
|
#[cfg(not(feature = "rp2040"))]
|
||||||
|
let config = Config::default();
|
||||||
|
|
||||||
// Initialize with 200MHz clock configuration for RP2040, other chips will use default clock
|
// Initialize with 200MHz clock configuration for RP2040, other chips will use default clock
|
||||||
#[cfg(feature = "rp2040")]
|
#[cfg(feature = "rp2040")]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user