mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
change prototype uip_udp_new(), saves 1 sram.
This commit is contained in:
1 parent
d5709bcaf3
commit
50d06c61bc
2 files changed
+2
-2
No files matched your search
@@ -466,7 +466,7 @@ uip_connect(register __xdata uip_ipaddr_t *ripaddr, __xdata u16_t rport) __banke
|
|||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
#if UIP_UDP
|
#if UIP_UDP
|
||||||
__xdata struct uip_udp_conn *
|
__xdata struct uip_udp_conn *
|
||||||
uip_udp_new(uip_ipaddr_t *ripaddr, u16_t rport) __banked
|
uip_udp_new(__xdata uip_ipaddr_t *ripaddr, u16_t rport) __banked
|
||||||
{
|
{
|
||||||
__xdata struct uip_udp_conn *conn;
|
__xdata struct uip_udp_conn *conn;
|
||||||
|
|
||||||
|
|||||||
@@ -763,7 +763,7 @@ void uip_send(register __xdata const void *data, register uint16_t len) __banked
|
|||||||
* \return The uip_udp_conn structure for the new connection or NULL
|
* \return The uip_udp_conn structure for the new connection or NULL
|
||||||
* if no connection could be allocated.
|
* if no connection could be allocated.
|
||||||
*/
|
*/
|
||||||
__xdata struct uip_udp_conn *uip_udp_new(uip_ipaddr_t *ripaddr, u16_t rport) __banked;
|
__xdata struct uip_udp_conn *uip_udp_new(__xdata uip_ipaddr_t *ripaddr, u16_t rport) __banked;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removed a UDP connection.
|
* Removed a UDP connection.
|
||||||
|
|||||||
Reference in new issue
Block a user