change prototype uip_udp_new(), saves 1 sram.

This commit is contained in:
René van Dorst
2026-04-19 22:18:39 +02:00
parent d5709bcaf3
commit 50d06c61bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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.