From 8a522d96c79aed654fc7273c7c5c3f680c91c333 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 2 Oct 2021 14:22:06 +0200 Subject: [PATCH] flash/nor/psoc6: fix doxygen comment Commit 64c2e03b23d9 ("flash/nor: improved API of flash_driver.info & fixed buffer overruns") changes the prototype of the function psoc6_get_info() but didn't update the list of parameters in the doxygen comment. Fix the doxygen comment. Change-Id: I1dce018b60d080973c5e351490d4d7baba422d74 Signed-off-by: Antonio Borneo Fixes: 64c2e03b23d9 ("flash/nor: improved API of flash_driver.info & fixed buffer overruns") Reviewed-on: https://review.openocd.org/c/openocd/+/6620 Reviewed-by: Tomas Vanek Tested-by: jenkins --- src/flash/nor/psoc6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/flash/nor/psoc6.c b/src/flash/nor/psoc6.c index 8a4121950d..d3a4b3702e 100644 --- a/src/flash/nor/psoc6.c +++ b/src/flash/nor/psoc6.c @@ -492,8 +492,7 @@ static const char *protection_to_str(uint8_t protection) /** *********************************************************************************************** * @brief psoc6_get_info Displays human-readable information about acquired device * @param bank current flash bank - * @param buf pointer to buffer for human-readable text - * @param buf_size size of the buffer + * @param cmd pointer to command invocation instance * @return ERROR_OK in case of success, ERROR_XXX code otherwise *************************************************************************************************/ static int psoc6_get_info(struct flash_bank *bank, struct command_invocation *cmd) -- 2.30.2