File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ void __attribute__((__constructor__(101))) __target_startup() {
4444 // are mapped to a function that halts the whole cpu.
4545 // this call does nothing when a flash handler is
4646 // configured
47- klib::irq::boot_helper::init<target::irq >();
47+ klib::irq::boot_helper::init<target::irq0 >();
4848
4949 // check if we can enable the systick. If we enable it
5050 // here when we have a flash irq handler we will cause
5151 // a hang in the default irq handler
52- if constexpr (klib::irq::boot_helper::in_ram<target::irq >()) {
52+ if constexpr (klib::irq::boot_helper::in_ram<target::irq0 >()) {
5353 // init the systick timer
54- klib::io::systick<>::init<target::irq , true >();
54+ klib::io::systick<>::init<target::irq0 , true >();
5555
5656 // enable the systick timer
5757 klib::io::systick<>::enable ();
You can’t perform that action at this time.
0 commit comments