mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 09:13:11 +00:00
Merge branch 'master' into feature/esp32s2beta_update
This commit is contained in:
@@ -2116,7 +2116,7 @@ void vTaskEndScheduler( void )
|
||||
|
||||
#if ( configUSE_NEWLIB_REENTRANT == 1 )
|
||||
//Return global reent struct if FreeRTOS isn't running,
|
||||
struct _reent* __getreent() {
|
||||
struct _reent* __getreent(void) {
|
||||
//No lock needed because if this changes, we won't be running anymore.
|
||||
TCB_t *currTask=xTaskGetCurrentTaskHandle();
|
||||
if (currTask==NULL) {
|
||||
@@ -2148,7 +2148,7 @@ void vTaskSuspendAll( void )
|
||||
|
||||
#if ( portNUM_PROCESSORS > 1 )
|
||||
|
||||
static BaseType_t xHaveReadyTasks()
|
||||
static BaseType_t xHaveReadyTasks( void )
|
||||
{
|
||||
for (int i = tskIDLE_PRIORITY + 1; i < configMAX_PRIORITIES; ++i)
|
||||
{
|
||||
|
Reference in New Issue
Block a user