Skip to content
Snippets Groups Projects
Commit a5887760 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Fixed copy paste and formatting

parent d4869961
Branches
No related tags found
No related merge requests found
...@@ -115,8 +115,8 @@ fn stub_EXTI3() { ...@@ -115,8 +115,8 @@ fn stub_EXTI3() {
fn idle() -> ! { fn idle() -> ! {
readbasepri(); readbasepri();
stub_EXTI1(); stub_EXTI1();
stub_EXTI1(); stub_EXTI2();
stub_EXTI1(); stub_EXTI3();
loop { loop {
rtfm::nop(); rtfm::nop();
......
...@@ -141,8 +141,10 @@ class MainBP(gdb.Breakpoint): ...@@ -141,8 +141,10 @@ class MainBP(gdb.Breakpoint):
print("Tasks: ", tasks) print("Tasks: ", tasks)
print("Name of task to test:", tasks[task_to_test]) print("Name of task to test:", tasks[task_to_test])
if not task_to_test == -1: if not task_to_test == -1:
gdb.write('Task to call: %s \n' % tasks[task_to_test]) gdb.write('Task to call: %s \n' % "stub_" +
gdb.execute('call %s' % tasks[task_to_test]) tasks[task_to_test])
gdb.execute('call %s' % "stub_" +
tasks[task_to_test] + "()")
else: else:
print("No task defined") print("No task defined")
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment