From d7cc478ce3d8346f8462ec7f65fdfcbd686303ea Mon Sep 17 00:00:00 2001 From: Iha Date: Wed, 13 Nov 2024 19:54:52 -0800 Subject: [PATCH] docs: added and fixed method and variable docs --- src/cli/conio.cpp | 2 +- src/cli/conio.hpp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cli/conio.cpp b/src/cli/conio.cpp index 2c94d2b9..92e009f1 100644 --- a/src/cli/conio.cpp +++ b/src/cli/conio.cpp @@ -2,7 +2,7 @@ * Project smartfin-fw3 * @file conio.hpp * Description: Particle serial input and output for command line use -* @author @emilybthorpe +* @author \@emilybthorpe * @date Jul 20 2023 */ diff --git a/src/cli/conio.hpp b/src/cli/conio.hpp index aae5f026..35c9033f 100644 --- a/src/cli/conio.hpp +++ b/src/cli/conio.hpp @@ -3,6 +3,10 @@ #include +/** + * @brief int length of character array SF_OSAL_printfBuffer + * + */ #define SF_OSAL_PRINTF_BUFLEN 1536 #ifdef __cplusplus @@ -41,6 +45,7 @@ extern "C" * @brief Gets user input lin * @param buffer buffer to write too * @param buflen length of buffer + * @return int value of user inputs in the buffer array excluding '\b' */ int getline(char* buffer, int buflen);