From 59f9528d34e45e50a130515c9d5684b7b9f98822 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sat, 30 May 2026 11:11:35 +0300 Subject: [PATCH] Increase buffer for print, make sys output more correct usStackHighWaterMark is not stack size, it's the minimum stack size --- flix/cli.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flix/cli.ino b/flix/cli.ino index faeaac3..2f39f29 100644 --- a/flix/cli.ino +++ b/flix/cli.ino @@ -57,7 +57,7 @@ const char* motd = "reboot - reboot the drone\n"; void print(const char* format, ...) { - char buf[1000]; + char buf[3000]; va_list args; va_start(args, format); vsnprintf(buf, sizeof(buf), format, args); @@ -173,7 +173,7 @@ void doCommand(String str, bool echo = false) { print("Free heap: %d\n", ESP.getFreeHeap()); print("Firmware: " __DATE__ " " __TIME__ "\n"); // Print tasks table - print("Num Task Stack Prio Core CPU%%\n"); + print("Num Task MinSt Prio Core CPU%%\n"); int taskCount = uxTaskGetNumberOfTasks(); TaskStatus_t *systemState = new TaskStatus_t[taskCount]; uint32_t totalRunTime;