Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Nov 15, 2023
1 parent 34acc24 commit 3fb5e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions examples/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use esp32c6_hal as hal;
#[cfg(feature = "esp32h2")]
use esp32h2_hal as hal;

use hal::{clock::ClockControl, peripherals::Peripherals, prelude::*, timer::TimerGroup, Rtc};
use hal::prelude::*;

use esp_storage::FlashStorage;

Expand All @@ -32,8 +32,6 @@ use esp_println::println;

#[entry]
fn main() -> ! {
let peripherals = Peripherals::take();

let mut bytes = [0u8; 32];

let mut flash = FlashStorage::new();
Expand Down
4 changes: 1 addition & 3 deletions examples/low_level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ use esp32c6_hal as hal;
#[cfg(feature = "esp32h2")]
use esp32h2_hal as hal;

use hal::{clock::ClockControl, peripherals::Peripherals, prelude::*, timer::TimerGroup, Rtc};
use hal::prelude::*;

use esp_backtrace as _;
use esp_println::println;

#[entry]
fn main() -> ! {
let peripherals = Peripherals::take();

let mut bytes = [0u8; 48];
let flash_addr = 0x9000;

Expand Down

0 comments on commit 3fb5e8f

Please sign in to comment.