mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
don't use pthread_attr if we want esp.cfg to prevail
This commit is contained in:
@@ -401,11 +401,8 @@ void console_start() {
|
|||||||
cfg.stack_size = 4096 ;
|
cfg.stack_size = 4096 ;
|
||||||
}
|
}
|
||||||
esp_pthread_set_cfg(&cfg);
|
esp_pthread_set_cfg(&cfg);
|
||||||
pthread_attr_t attr;
|
pthread_create(&thread_console, NULL, console_thread, NULL);
|
||||||
pthread_attr_init(&attr);
|
|
||||||
|
|
||||||
pthread_create(&thread_console, &attr, console_thread, NULL);
|
|
||||||
pthread_attr_destroy(&attr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static esp_err_t run_command(char * line){
|
static esp_err_t run_command(char * line){
|
||||||
|
|||||||
Reference in New Issue
Block a user