mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
invalid use of tcb field resource count
This commit is contained in:
@@ -135,7 +135,6 @@ void _CORE_semaphore_Seize(
|
||||
_ISR_Disable( level );
|
||||
if ( the_semaphore->count != 0 ) {
|
||||
the_semaphore->count -= 1;
|
||||
executing->resource_count++;
|
||||
_ISR_Enable( level );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user