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

@ -431,7 +431,7 @@ void verifyIdleTask( BaseType_t index,
TaskStatus_t xTaskDetails;
int ret;
vTaskGetInfo( xIdleTaskHandles[ index ], &xTaskDetails, pdTRUE, eInvalid );
vTaskGetInfo( xIdleTaskHandles[ index ], &xTaskDetails, pdFALSE, eInvalid );
#ifdef configIDLE_TASK_NAME
ret = strncmp( xTaskDetails.xHandle->pcTaskName, configIDLE_TASK_NAME, strlen( configIDLE_TASK_NAME ) );
#else