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:
Florian La Roche 2025-04-21 15:43:02 +02:00 committed by GitHub
parent 9165944664
commit 1325aaaad6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 96 additions and 84 deletions

View file

@ -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;