Просмотр исходного кода

RTX5: update osRtxInfo initialization (#759)

Robert Rostohar 4 лет назад
Родитель
Сommit
e970345cca
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      CMSIS/RTOS2/RTX/Source/rtx_kernel.c

+ 0 - 1
CMSIS/RTOS2/RTX/Source/rtx_kernel.c

@@ -90,7 +90,6 @@ static osStatus_t svcRtxKernelInitialize (void) {
 #endif
 
   // Initialize osRtxInfo
-  memset(&osRtxInfo.kernel, 0, sizeof(osRtxInfo) - offsetof(osRtxInfo_t, kernel));
 
   osRtxInfo.isr_queue.data = osRtxConfig.isr_queue.data;
   osRtxInfo.isr_queue.max  = osRtxConfig.isr_queue.max;