diff --git a/rp2040-hal/examples/alloc.rs b/rp2040-hal/examples/alloc.rs index 71bc09744..db61639b0 100644 --- a/rp2040-hal/examples/alloc.rs +++ b/rp2040-hal/examples/alloc.rs @@ -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.