Skip to content

Commit a53f92e

Browse files
committed
Increase the main thread stack size
For log message formatting, VESC_IF->printf() requires a lot of stack.
1 parent e61a506 commit a53f92e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2140,7 +2140,7 @@ INIT_FUN(lib_info *info) {
21402140

21412141
footpad_sensor_update(&d->footpad, &d->float_conf);
21422142

2143-
d->main_thread = VESC_IF->spawn(refloat_thd, 1024, "Refloat Main", d);
2143+
d->main_thread = VESC_IF->spawn(refloat_thd, 1536, "Refloat Main", d);
21442144
if (!d->main_thread) {
21452145
log_error("Failed to spawn Refloat Main thread.");
21462146
return false;

0 commit comments

Comments
 (0)