added Refreshrate
parent
df7d4d92fb
commit
73f57b4d11
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue