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
No related branches found
No related tags found
No related merge requests found
......@@ -115,8 +115,8 @@ fn stub_EXTI3() {
fn idle() -> ! {
readbasepri();
stub_EXTI1();
stub_EXTI1();
stub_EXTI1();
stub_EXTI2();
stub_EXTI3();
loop {
rtfm::nop();
......
......@@ -141,8 +141,10 @@ class MainBP(gdb.Breakpoint):
print("Tasks: ", tasks)
print("Name of task to test:", tasks[task_to_test])
if not task_to_test == -1:
gdb.write('Task to call: %s \n' % tasks[task_to_test])
gdb.execute('call %s' % tasks[task_to_test])
gdb.write('Task to call: %s \n' % "stub_" +
tasks[task_to_test])
gdb.execute('call %s' % "stub_" +
tasks[task_to_test] + "()")
else:
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