From d6797867fbf0ba47e554ac4969f71b6c971ca2bc Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 10 Nov 2023 11:12:20 +0100 Subject: [PATCH] sys/flash_utils: Fix signature in documentation The function signature in the Doxygen generated doc was incorrect. Given that the implementation does have the correct signature, the impact may not be that large. Still, incorrect doc is confusing, so let's fix it. --- sys/include/flash_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/flash_utils.h b/sys/include/flash_utils.h index dc4721f1c7..44f54b8991 100644 --- a/sys/include/flash_utils.h +++ b/sys/include/flash_utils.h @@ -207,7 +207,7 @@ void flash_puts(FLASH_ATTR const char *flash); * @param[in] n number of bytes to copy * */ -void * flash_memcpy(void *dest, FLASH_ATTR const char *src, size_t n); +void * flash_memcpy(void *dest, FLASH_ATTR const void *src, size_t n); #elif !IS_ACTIVE(HAS_FLASH_UTILS_ARCH) # define FLASH_ATTR # define PRIsflash "s"