mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 09:17:44 -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
|
@ -109,12 +109,14 @@ int main( void )
|
|||
|
||||
/* Called by FreeRTOS+TCP when the network connects or disconnects. Disconnect
|
||||
* events are only received if implemented in the MAC driver. */
|
||||
/* *INDENT-OFF* */
|
||||
#if defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 )
|
||||
void vApplicationIPNetworkEventHook_Multi( eIPCallbackEvent_t eNetworkEvent,
|
||||
struct xNetworkEndPoint * pxEndPoint )
|
||||
#else
|
||||
void vApplicationIPNetworkEventHook( eIPCallbackEvent_t eNetworkEvent )
|
||||
#endif /* defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */
|
||||
/* *INDENT-ON* */
|
||||
{
|
||||
( void ) eNetworkEvent;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue