From 1db02591739cd0a14c5c4b24f302f0c758cee408 Mon Sep 17 00:00:00 2001 From: TT Date: Sun, 22 Jan 2017 13:10:29 +0900 Subject: [PATCH] adjust thread stack size --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 456039f..b4d3b68 100644 --- a/main.c +++ b/main.c @@ -42,7 +42,7 @@ uint8_t drive_strength = SI5351_CLK_DRIVE_STRENGTH_2MA; int8_t frequency_updated = FALSE; int8_t sweep_enabled = TRUE; -static THD_WORKING_AREA(waThread1, 440); +static THD_WORKING_AREA(waThread1, 768); static THD_FUNCTION(Thread1, arg) { (void)arg; @@ -1354,7 +1354,7 @@ static void cmd_stat(BaseSequentialStream *chp, int argc, char *argv[]) -#define SHELL_WA_SIZE THD_WORKING_AREA_SIZE(440) +#define SHELL_WA_SIZE THD_WORKING_AREA_SIZE(256) static THD_WORKING_AREA(waThread2, SHELL_WA_SIZE); static const ShellCommand commands[] =