diff --git a/lp-core/src/main.rs b/lp-core/src/main.rs index 21a8c68..4947597 100644 --- a/lp-core/src/main.rs +++ b/lp-core/src/main.rs @@ -8,7 +8,7 @@ #![no_main] use embedded_hal::{delay::DelayNs, digital::OutputPin}; -use esp_lp_hal::{delay::Delay, gpio::Output, prelude::*}; +use esp_lp_hal::{delay::Delay, gpio::Output, prelude::*, wake_hp_core}; use panic_halt as _; const ADDRESS: u32 = 0x5000_2000; @@ -27,6 +27,7 @@ fn main(mut gpio1: Output<1>) -> ! { } gpio1.set_high().unwrap(); + wake_hp_core(); Delay.delay_ms(500); gpio1.set_low().unwrap();