test: swaps to f1 not main

arm_linker_fix
Ariadne Conill 2020-03-29 15:10:17 +00:00
parent d0ccf2f96f
commit 01432abb3e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ static void f2 (void) {
printf("start f2\n"); printf("start f2\n");
printf("swap to f1\n"); printf("swap to f1\n");
swapcontext(&ctx[2], &ctx[1]); swapcontext(&ctx[2], &ctx[1]);
printf("finish f2, should swap to main\n"); printf("finish f2, should swap to f1\n");
} }