Skip to content

Commit

Permalink
chore: minor demo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Oct 2, 2024
1 parent d61bd7d commit c282db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hpm5300evk/src/bin/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use hpm_hal::gpio::{Input, Pull};
use riscv::delay::McycleDelay;
use {defmt_rtt as _, hpm_hal as hal, panic_halt as _, riscv_rt as _};

#[riscv_rt::entry]
#[hal::entry]
fn main() -> ! {
let p = hal::init(Default::default());

Expand Down

0 comments on commit c282db0

Please # to comment.