mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-20 03:37:46 -04:00
FreeRTOS_Plus_TCP_Echo_Qemu_mps2: cleanup (#1336)
* FreeRTOS_Plus_TCP_Echo_Qemu_mps2: cleanup FreeRTOS_Plus_TCP_Echo_Qemu_mps2: - Add missing include for header files. - Remove redundant function declarations. - Add "static" modifier if possible. - No need to use "weak" for EthernetISR(). Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
This commit is contained in:
parent
9165944664
commit
1325aaaad6
25 changed files with 96 additions and 84 deletions
|
@ -305,8 +305,10 @@ void test_prvSelectHighestPriorityTask_assert_scheduler_running_false( void )
|
|||
TCB_t unblockedTCB[ configNUMBER_OF_CORES ] = { 0 };
|
||||
|
||||
unblockedTCB[ 0 ].uxCriticalNesting = 0;
|
||||
unblockedTCB[ 1 ].uxCriticalNesting = 0;
|
||||
|
||||
pxCurrentTCBs[ 0 ] = &unblockedTCB[ 0 ];
|
||||
pxCurrentTCBs[ 1 ] = &unblockedTCB[ 1 ];
|
||||
|
||||
xSchedulerRunning = pdFALSE; /* causes the assert */
|
||||
uxSchedulerSuspended = pdFALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue