mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2018-2021 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -236,7 +236,7 @@ int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
|
||||
if (pthread_cfg->inherit_cfg) {
|
||||
if (pthread_cfg->thread_name == NULL) {
|
||||
// Inherit task name from current task.
|
||||
task_name = pcTaskGetTaskName(NULL);
|
||||
task_name = pcTaskGetName(NULL);
|
||||
} else {
|
||||
// Inheriting, but new task name.
|
||||
task_name = pthread_cfg->thread_name;
|
||||
|
Reference in New Issue
Block a user