mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
Merge branch 'feature/github-5838' into 'master'
[freertos] Silence sign-conversion warning See merge request espressif/esp-idf!15404
This commit is contained in:
commit
865fddde15
@ -93,7 +93,6 @@ typedef uint32_t TickType_t;
|
||||
#define RVHAL_EXCM_LEVEL 4
|
||||
|
||||
|
||||
|
||||
/* ----------------------------------------------- Port Configurations -------------------------------------------------
|
||||
* - Configurations values supplied by each port
|
||||
* - Required by FreeRTOS
|
||||
@ -377,7 +376,7 @@ void vPortSetStackWatchpoint(void *pxStackStart);
|
||||
*/
|
||||
static inline BaseType_t IRAM_ATTR xPortGetCoreID(void)
|
||||
{
|
||||
return cpu_hal_get_core_id();
|
||||
return (uint32_t) cpu_hal_get_core_id();
|
||||
}
|
||||
|
||||
|
||||
|
@ -636,7 +636,7 @@ static inline bool IRAM_ATTR xPortCanYield(void)
|
||||
|
||||
static inline BaseType_t IRAM_ATTR xPortGetCoreID(void)
|
||||
{
|
||||
return cpu_hal_get_core_id();
|
||||
return (uint32_t) cpu_hal_get_core_id();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user