Merge pull request #366 from gnacho/fix/kp9000-v31-mac-offset

Add factory MAC flash offset for keepLink KP-9000-9XHML-X V3.1 + mac command
This commit is contained in:
René van Dorst authored and GitHub committed 2026-09-12 07:58:54 +00:00
commit f49ca0d6fe
5 files changed
+124 -3

No files matched your search

+13
View File
@@ -359,6 +359,19 @@ void memcpy(__xdata void * __xdata dst, __xdata const void * __xdata src, uint16
*d++ = *s++;
}
int memcmp(__xdata const void *a, __xdata const void *b, uint16_t len)
{
__xdata const uint8_t *x = a;
__xdata const uint8_t *y = b;
while (len--) {
if (*x != *y)
return *x - *y;
x++;
y++;
}
return 0;
}
void memcpyc(__xdata uint8_t *dst, __code uint8_t *src, uint16_t len)
{
while (len--)