From 642030c7b2b59a52b80ccc83bc37840afea26809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Date: Sat, 18 Apr 2026 21:39:43 +0200 Subject: [PATCH] uip: de-__gptrget()-call in uip_add32() --- uip/uip.c | 2 +- uip/uip_arch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uip/uip.c b/uip/uip.c index 40c018c..6afd3be 100644 --- a/uip/uip.c +++ b/uip/uip.c @@ -241,7 +241,7 @@ __xdata struct uip_stats uip_stat; #if ! UIP_ARCH_ADD32 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[2] = op32[2] + (op16 >> 8); diff --git a/uip/uip_arch.h b/uip/uip_arch.h index 71fd84b..5d408d9 100644 --- a/uip/uip_arch.h +++ b/uip/uip_arch.h @@ -81,7 +81,7 @@ * * \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.