[freertos] Silence sign-conversion warning

This commit is contained in:
sU8U7SfkcwTJVH7PjaVmej7D 2021-07-22 12:00:00 +02:00
parent f65c8249af
commit 91a40044f5

View File

@ -95,7 +95,7 @@ typedef unsigned portBASE_TYPE UBaseType_t;
#include "portbenchmark.h"
static inline BaseType_t IRAM_ATTR xPortGetCoreID(void) {
return cpu_hal_get_core_id();
return (uint32_t) cpu_hal_get_core_id();
}