diff --git a/examples/zero-tasks.rs b/examples/zero-tasks.rs index 2ef6bd0b0b747161e060a58bf7dd9b518cf588dc..2663bb15a225fcce31eb7d5f6f23ad5374d4490d 100644 --- a/examples/zero-tasks.rs +++ b/examples/zero-tasks.rs @@ -100,16 +100,14 @@ fn clk_init(p: &init::Peripherals) { // This runs first and within a *global* critical section. Nothing can preempt // this function. fn init(p: init::Peripherals) { + // This function has access to all the peripherals of the device clk_init(&p); let itm = p.ITM; iprintln!(&itm.stim[0], "-- Running at 100Mhz -- "); + rtfm::bkpt(); - // use lpc176x5x::syscon::clksrcsel::*; - // use lpc176x5x::syscon::scs::*; - // use lpc176x5x::syscon::clkoutcfg::*; - // This function has access to all the peripherals of the device // setup ethernet mac }