1
0
Fork 0
forked from len0rd/rockbox

misc: Ensure stacks are always aligned with the native pointer size.

Change-Id: Ie7efae914dcb43be98bbb71bae9b765b2d87d817
This commit is contained in:
Solomon Peachy 2025-09-05 19:42:00 -04:00
parent 695698b918
commit 16c9ef64b0
8 changed files with 9 additions and 9 deletions

View file

@ -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