sched/semaphore: fix typo in comment

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2022-10-22 22:53:59 +02:00 committed by Xiang Xiao
parent a74dddd2ff
commit e43db5fe28

View File

@ -899,12 +899,12 @@ void nxsem_restore_baseprio(FAR struct tcb_s *stcb, FAR sem_t *sem)
if (stcb != NULL)
{
/* Handler semaphore counts posed from an interrupt handler differently
* from interrupts posted from threads. The primary difference is that
* if the semaphore is posted from a thread, then the poster thread is
* a player in the priority inheritance scheme. The interrupt handler
* externally injects the new count without otherwise participating
* itself.
/* Handler semaphore counts posted from an interrupt handler
* differently from interrupts posted from threads. The primary
* difference is that if the semaphore is posted from a thread, then
* the poster thread is a player in the priority inheritance scheme.
* The interrupt handler externally injects the new count without
* otherwise participating itself.
*/
if (up_interrupt_context())