Browse Source

Adding missing __cpp() wrapper macro to inline assembly for Keil RAW32 threading functions

remotes/origin_old/ugfx_release_2.7
Joel Bodenmann 6 years ago
parent
commit
8e62912446
  1. 2
      src/gos/gos_x_threads_cortexm01.h
  2. 2
      src/gos/gos_x_threads_cortexm347.h
  3. 2
      src/gos/gos_x_threads_cortexm47fp.h

2
src/gos/gos_x_threads_cortexm01.h

@ -107,7 +107,7 @@
ldr r1,[r2,#__cpp(offsetof(thread,fn))]
blx r1
mov r4,r0
bl gfxThreadExit
bl __cpp(gfxThreadExit)
}
#else

2
src/gos/gos_x_threads_cortexm347.h

@ -78,7 +78,7 @@
ldr r1,[r2,#__cpp(offsetof(thread,fn))]
blx r1
mov r4,r0
bl gfxThreadExit
bl __cpp(gfxThreadExit)
}
#else

2
src/gos/gos_x_threads_cortexm47fp.h

@ -83,7 +83,7 @@
ldr r1,[r2,#__cpp(offsetof(thread,fn))]
blx r1
mov r4,r0
bl gfxThreadExit
bl __cpp(gfxThreadExit)
}
#else

Loading…
Cancel
Save