uip: de-__gptrget()-call in uip_add32()

This commit is contained in:
René van Dorst
2026-04-18 22:20:46 +02:00
parent 8324edc5f7
commit 642030c7b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ __xdata struct uip_stats uip_stat;
#if ! UIP_ARCH_ADD32 #if ! UIP_ARCH_ADD32
void void
uip_add32(u8_t *op32, u16_t op16) uip_add32(u8_t __xdata * op32, u16_t op16)
{ {
uip_acc32[3] = op32[3] + (op16 & 0xff); uip_acc32[3] = op32[3] + (op16 & 0xff);
uip_acc32[2] = op32[2] + (op16 >> 8); uip_acc32[2] = op32[2] + (op16 >> 8);
+1 -1
View File
@@ -81,7 +81,7 @@
* *
* \param op16 A 16-bit integer in host byte order. * \param op16 A 16-bit integer in host byte order.
*/ */
void uip_add32(u8_t *op32, u16_t op16); void uip_add32(u8_t __xdata * op32, u16_t op16);
/** /**
* Calculate the Internet checksum over a buffer. * Calculate the Internet checksum over a buffer.