forked from len0rd/rockbox
misc: Ensure stacks are always aligned with the native pointer size.
Change-Id: Ie7efae914dcb43be98bbb71bae9b765b2d87d817
This commit is contained in:
parent
695698b918
commit
16c9ef64b0
8 changed files with 9 additions and 9 deletions
|
@ -194,7 +194,7 @@ static void scroll_thread(void)
|
|||
|
||||
void scroll_init(void)
|
||||
{
|
||||
static char scroll_stack[DEFAULT_STACK_SIZE*3];
|
||||
static long scroll_stack[(DEFAULT_STACK_SIZE*3)/sizeof(long)];
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
queue_init(&scroll_queue, true);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue