mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-23 11:09:28 -05:00
Fix TCP echo posix demo warnings (#1031)
* fix warnings * update naming * updating +TCP to latest * review comments fix
This commit is contained in:
parent
69cd9f0b3e
commit
3be041eacb
4 changed files with 8 additions and 4 deletions
|
|
@ -227,7 +227,9 @@ void traceOnEnter()
|
|||
|
||||
/* clear the buffer */
|
||||
char buffer[ 1 ];
|
||||
read( STDIN_FILENO, &buffer, 1 );
|
||||
size_t xReadRet;
|
||||
xReadRet = read( STDIN_FILENO, &buffer, 1 );
|
||||
( void ) xReadRet;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -161,7 +161,9 @@ void main_tcp_echo_client_tasks( void )
|
|||
|
||||
#if defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 )
|
||||
/* Initialise the interface descriptor for WinPCap. */
|
||||
pxFillInterfaceDescriptor( 0, &( xInterfaces[ 0 ] ) );
|
||||
NetworkInterface_t * pxLinux_FillInterfaceDescriptor( BaseType_t xEMACIndex,
|
||||
NetworkInterface_t * pxInterface );
|
||||
pxLinux_FillInterfaceDescriptor( 0, &( xInterfaces[ 0 ] ) );
|
||||
|
||||
/* === End-point 0 === */
|
||||
FreeRTOS_FillEndPoint( &( xInterfaces[ 0 ] ), &( xEndPoints [ 0 ] ), ucIPAddress, ucNetMask, ucGatewayAddress, ucDNSServerAddress, ucMACAddress );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue