diff options
author | Dean Camera <[email protected]> | 2012-06-26 18:53:30 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2012-06-26 18:53:30 +0000 |
commit | 6f90d45684206e5dfca3c4554a14a5784da49d92 (patch) | |
tree | 29c7058416e4891d51a09a272d0e46adeb247835 /Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h | |
parent | c9ba8f2a2c8adbac38fd60e8c53ad9b2445542fc (diff) | |
download | qmk_firmware-6f90d45684206e5dfca3c4554a14a5784da49d92.tar.gz qmk_firmware-6f90d45684206e5dfca3c4554a14a5784da49d92.zip |
Fix accidental struct copies on the stack in the old RNDISEthernet demo TCP code.
Diffstat (limited to 'Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h')
-rw-r--r-- | Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h index f27db1526c..d8122707c8 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h @@ -236,14 +236,14 @@ void (*Handler)(TCP_ConnectionState_t*, TCP_ConnectionBuffer_t*)); uint8_t TCP_GetPortState(const uint16_t Port); bool TCP_SetConnectionState(const uint16_t Port, - const IP_Address_t RemoteAddress, + const IP_Address_t* RemoteAddress, const uint16_t RemotePort, const uint8_t State); uint8_t TCP_GetConnectionState(const uint16_t Port, - const IP_Address_t RemoteAddress, + const IP_Address_t* RemoteAddress, const uint16_t RemotePort); TCP_ConnectionInfo_t* TCP_GetConnectionInfo(const uint16_t Port, - const IP_Address_t RemoteAddress, + const IP_Address_t* RemoteAddress, const uint16_t RemotePort); int16_t TCP_ProcessTCPPacket(void* IPHeaderInStart, void* TCPHeaderInStart, @@ -251,8 +251,8 @@ #if defined(INCLUDE_FROM_TCP_C) static uint16_t TCP_Checksum16(void* TCPHeaderOutStart, - const IP_Address_t SourceAddress, - const IP_Address_t DestinationAddress, + const IP_Address_t* SourceAddress, + const IP_Address_t* DestinationAddress, uint16_t TCPOutSize); #endif |