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

RTOS2: Allow osKernelRestoreLock to be called from Faults

Robert Rostohar 2 лет назад
Родитель
Сommit
aeeffe04a9
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Kernel.txt

+ 2 - 3
CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Kernel.txt

@@ -261,9 +261,8 @@ negative number representing an error code otherwise (refer to \ref osStatus_t).
 
 Possible \ref osStatus_t return values:
 - \em osError if an unspecific error occurred.
-- \em osErrorISR if called from an \ref CMSIS_RTOS_ISR_Calls "Interrupt Service Routine".
-
-\note This function \b cannot be called from \ref CMSIS_RTOS_ISR_Calls "Interrupt Service Routines".
+- \em osErrorISR if called from interrupt other than fault or \ref osWatchdogAlarm_Handler.
+- \em osErrorSafetyClass if the calling thread safety class is lower than the kernel protect safety class.
 
 <b>Code Example</b>
 \code