Skip to content

Commit

Permalink
Fix Kernel Panic
Browse files Browse the repository at this point in the history
  • Loading branch information
echavemann committed Dec 8, 2024
1 parent 9e53e2b commit b18dfac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/entrypoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main(void)

edge::FaultHandler::get();

/* edge::scheduler.add_task(exception_task); */
edge::scheduler.add_task(exception_task);

/* edge::scheduler.add_task(ipc_part1); */
/* edge::scheduler.add_task(ipc_part2); */
Expand Down
5 changes: 0 additions & 5 deletions src/user_programs/user_program_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ void exception_task(void)
set_fault_handler(fault_handler);

trigger_faults();
start_timer(callback, 100000, true);
auto id2 = start_timer(callback2, 750000, true);
cancel_timer(id2);

set_led(2, 2, true);

while (1) {
yield();
Expand Down

0 comments on commit b18dfac

Please sign in to comment.