mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
uip: de-__gptrget()-call in uip_add32()
This commit is contained in:
@@ -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);
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user