mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
freertos: Synchronize tasks.c functions (minor changes) to v10.4.3
This commit synchronizes multiple functions in tasks.c with upstream v10.4.3 that contain minor differences. The following functions have had their parameter names or code formatting updated: - xTaskCreateStaticPinnedToCore() - xTaskCreatePinnedToCore() - prvInitialiseNewTask() - prvTaskIsTaskSuspended() - vTaskStartScheduler() - xTaskResumeAll() - xTaskCheckForTimeOut() - uxTaskResetEventItemValue() The following functions have had their missing "xAlreadyYielded" restored - xTaskDelayUntil() - vTaskDelay() The following functions have had their critical section/interrupt disdable usage update - vTaskSuspendAll() - xTaskGetTickCountFromISR() - xTaskGetApplicationTaskTagFromISR()
This commit is contained in:
@@ -108,6 +108,7 @@ typedef uint32_t TickType_t;
|
||||
#define portSTACK_GROWTH (-1)
|
||||
#define portTICK_PERIOD_MS ((TickType_t) (1000 / configTICK_RATE_HZ))
|
||||
#define portBYTE_ALIGNMENT 16
|
||||
#define portTICK_TYPE_IS_ATOMIC 1
|
||||
#define portNOP() __asm volatile (" nop ")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user