Fix TCP echo posix demo warnings (#1031)

* fix warnings

* update naming

* updating +TCP to latest

* review comments fix
pull/1038/head
Tony Josi 2 years ago committed by GitHub
parent 69cd9f0b3e
commit 3be041eacb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save