mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-17 10:17:45 -04: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 );
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2d3f4daa567ffe71aeda2e0f6d0bc02850db0627
|
||||
Subproject commit 07e99855c7a189a2af5b708951815a2c604a8b9a
|
|
@ -11,7 +11,7 @@ dependencies:
|
|||
path: "FreeRTOS/Source"
|
||||
|
||||
- name: "FreeRTOS-Plus-TCP"
|
||||
version: "2d3f4da"
|
||||
version: "07e9985"
|
||||
repository:
|
||||
type: "git"
|
||||
url: "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP.git"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue