Small bug fix + doco
This commit is contained in:
parent
a84f6e0ee7
commit
64752ab52c
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@
|
||||||
FIX: Add missing stm32m3 cpu makefile option. Update doc to match.
|
FIX: Add missing stm32m3 cpu makefile option. Update doc to match.
|
||||||
FEATURE: Added ability to compile ugfx as a single file. Simply compile src/gfx_mk.c
|
FEATURE: Added ability to compile ugfx as a single file. Simply compile src/gfx_mk.c
|
||||||
FEATURE: Added GFXSINGLEMAKE=yes|no to the ugfx makefile to compile ugfx as a single file.
|
FEATURE: Added GFXSINGLEMAKE=yes|no to the ugfx makefile to compile ugfx as a single file.
|
||||||
|
FEATURE: New board STM32F746G-Discovery
|
||||||
|
FEATURE: New gdisp driver STM32LTDC
|
||||||
|
FEATURE: Better support for Raw32 platforms
|
||||||
|
|
||||||
*** Release 2.3 ***
|
*** Release 2.3 ***
|
||||||
FEATURE: Added more events to the slider widget
|
FEATURE: Added more events to the slider widget
|
||||||
|
|
|
@ -685,7 +685,7 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_
|
||||||
nf = (char *)(t) + sizeof(thread) + stackbase;
|
nf = (char *)(t) + sizeof(thread) + stackbase;
|
||||||
memcpy(t+1, (char *)&t - stackbase, stackbase+sizeof(char *));
|
memcpy(t+1, (char *)&t - stackbase, stackbase+sizeof(char *));
|
||||||
} else { // Stack grows down
|
} else { // Stack grows down
|
||||||
nf = (char *)(t) + stacksz - (stackbase + sizeof(char *));
|
nf = (char *)(t) + t->size - (stackbase + sizeof(char *));
|
||||||
memcpy(nf, &t, stackbase+sizeof(char *));
|
memcpy(nf, &t, stackbase+sizeof(char *));
|
||||||
}
|
}
|
||||||
#elif STACK_DIR_UP
|
#elif STACK_DIR_UP
|
||||||
|
|
Loading…
Add table
Reference in a new issue