Skip to content

Commit

Permalink
Update alloc example for embedded-hal 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Feb 10, 2024
1 parent 89cabdf commit fccfdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rp2040-hal/examples/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ use rp2040_hal as hal;
use hal::pac;

// Some traits we need
use embedded_hal::blocking::delay::DelayMs;
use embedded_hal::digital::v2::OutputPin;
use embedded_hal::delay::DelayNs;
use embedded_hal::digital::OutputPin;

/// The linker will place this boot block at the start of our program image. We
/// need this to help the ROM bootloader get our code up and running.
Expand Down

0 comments on commit fccfdbe

Please sign in to comment.