From 5b4c099afcaa10028912ddc4edfa73c7bce0ffc1 Mon Sep 17 00:00:00 2001 From: dev-guruprasath <96348958+dev-guruprasath@users.noreply.github.com> Date: Mon, 31 Jul 2023 15:06:15 +0530 Subject: [PATCH] added working example for flash --- examples/stm32g0/src/bin/flash.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/stm32g0/src/bin/flash.rs b/examples/stm32g0/src/bin/flash.rs index 36427e38..3f6e4649 100644 --- a/examples/stm32g0/src/bin/flash.rs +++ b/examples/stm32g0/src/bin/flash.rs @@ -4,12 +4,9 @@ use defmt::*; use embassy_executor::Spawner; -use embassy_stm32::gpio::{Level, Output, Speed}; -use embassy_time::{Duration, Timer}; use {defmt_rtt as _, panic_probe as _}; use embassy_stm32::flash::Flash; - #[embassy_executor::main] async fn main(_spawner: Spawner) { let p = embassy_stm32::init(Default::default());