diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-04-01 20:24:59 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-01 20:24:59 -0400 |
commit | afec380a0d44482ac498b31b167b43a3c2b710a2 (patch) | |
tree | 3fd8978fabb2f7299f13e9bbd6bb99bebb01de7a | |
parent | 9e15c19891282e3740a78cf7d6a74bd0041a55a2 (diff) | |
download | rockbox-afec380a0d44482ac498b31b167b43a3c2b710a2.tar.gz rockbox-afec380a0d44482ac498b31b167b43a3c2b710a2.zip |
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
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/headphone-gigabeat-s.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
30 | 30 | ||
31 | static struct semaphore headphone_wakeup; | 31 | static struct semaphore headphone_wakeup; |
32 | static unsigned int headphone_thread_id; | 32 | static unsigned int headphone_thread_id; |
33 | static unsigned int headphone_stack[176/sizeof(int)]; /* Little stack needed */ | 33 | static unsigned int headphone_stack[200/sizeof(int)]; /* Little stack needed; 184 bytes as of this writing. */ |
34 | static const char * const headphone_thread_name = "headphone"; | 34 | static const char * const headphone_thread_name = "headphone"; |
35 | static bool headphones_detect = false; | 35 | static bool headphones_detect = false; |
36 | 36 | ||