added Refreshrate

master
Jan Umbach 2023-08-22 13:03:08 +02:00
parent df7d4d92fb
commit 73f57b4d11
2 changed files with 8 additions and 1 deletions

View File

@ -70,6 +70,13 @@ menu "Jannex Configuration"
depends on HTTP_SERVER_ENABLE_DEBUG_MODE
help
The length of the debug cache. The cache is used to store the last debug chars. The cache is used to send the last debug chars to the client when the client connects to the debug server or when the client reconnects to the debug server.
config HTTP_SERVER_DEBUG_REFRESH_RATE
default 500
int "HTTP Server Debug Refresh Rate"
depends on HTTP_SERVER_ENABLE_DEBUG_MODE
help
The refresh rate of the debug server in milliseconds. The refresh rate is used to send the debug chars to the client.
config DEBUG_SEND_COREDUMP
bool "Send coredump to debug server"

View File

@ -452,7 +452,7 @@ static void console_task(void *pvParameters)
{
sendOlderMessages();
vTaskDelay(500 / portTICK_PERIOD_MS);
vTaskDelay(CONFIG_HTTP_SERVER_DEBUG_REFRESH_RATE / portTICK_PERIOD_MS);
}
}