From afec380a0d44482ac498b31b167b43a3c2b710a2 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 1 Apr 2021 20:24:59 -0400 Subject: gigabeats: Fix hang on startup caused by a stack overflow headphone ADC thread stack was slightly too small. Bump it up a bit. (it was _perfectly_ sized for the prior older toolchain+optimization flags...) Change-Id: I2ca67c2b85c54f879892a31e281d7696f893389c --- firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware') diff --git a/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c index cf0a378fc7..712e7eac8d 100644 --- a/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c @@ -30,7 +30,7 @@ static struct semaphore headphone_wakeup; static unsigned int headphone_thread_id; -static unsigned int headphone_stack[176/sizeof(int)]; /* Little stack needed */ +static unsigned int headphone_stack[200/sizeof(int)]; /* Little stack needed; 184 bytes as of this writing. */ static const char * const headphone_thread_name = "headphone"; static bool headphones_detect = false; -- cgit v1.2.3