From 69b8823ef10c62ccef5d1b62e5b1c5db23b9f6e6 Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 19 Sep 2007 16:23:27 +0000 Subject: [PATCH] Fix doxygen warnings. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@811 38d2e660-2303-0410-9eaa-f027e97ec537 --- algos/tea.c | 11 +++++++---- gui/menu.h | 5 ++++- mware/prog.c | 2 +- mware/prog_avr.c | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/algos/tea.c b/algos/tea.c index b355c116..a9a3a6f5 100755 --- a/algos/tea.c +++ b/algos/tea.c @@ -41,6 +41,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2007/09/19 16:23:27 batt + *#* Fix doxygen warnings. + *#* *#* Revision 1.1 2007/06/07 09:13:40 batt *#* Add TEA enc/decryption algorithm. *#* @@ -61,8 +64,8 @@ static uint32_t tea_func(uint32_t *in, uint32_t *sum, uint32_t *k) * \brief TEA encryption function. * This function encrypts v with k and returns the * encrypted data in v. - * \param v Array of two long values containing the data block. - * \param k Array of four long values containing the key. + * \param _v Array of two long values containing the data block. + * \param _k Array of four long values containing the key. */ void tea_enc(void *_v, void *_k) { @@ -90,8 +93,8 @@ void tea_enc(void *_v, void *_k) * \brief TEA decryption function. * This function decrypts v with k and returns the * decrypted data in v. - * \param v Array of two long values containing the data block. - *\param k Array of four long values containing the key. + * \param _v Array of two long values containing the data block. + * \param _k Array of four long values containing the key. */ void tea_dec(void *_v, void *_k) { diff --git a/gui/menu.h b/gui/menu.h index 30ec2c12..e4a6753c 100755 --- a/gui/menu.h +++ b/gui/menu.h @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2007/09/19 16:23:27 batt + *#* Fix doxygen warnings. + *#* *#* Revision 1.4 2006/09/13 13:58:33 bernie *#* Add RenderHook support. *#* @@ -125,7 +128,7 @@ typedef struct Menu const_iptr_t title; /**< Menu title (ID or ptr to string, 0 to disable) */ int flags; /**< See MF_#? definitions below */ struct Bitmap *bitmap; /**< Bitmap where the menu is rendered */ - int selected; /**< Initial selection (written to if #MF_SAVESEL is set). */ + int selected; /**< Initial selection (written to if MF_SAVESEL is set). */ } Menu; /** diff --git a/mware/prog.c b/mware/prog.c index bd76ac95..a600659c 100755 --- a/mware/prog.c +++ b/mware/prog.c @@ -42,7 +42,7 @@ uint8_t save_buf[TEST_SIZE]; /** * Program memory read/write subtest. - * Try to write/read in the same file location \param _size bytes. + * Try to write/read in the same \param f file location \param _size bytes. * \return true if all is ok, false otherwise * \note Restore file position at exit (if no error) * \note Test buffer \param buf must be filled with diff --git a/mware/prog_avr.c b/mware/prog_avr.c index 39b6806a..dc9ac9e7 100755 --- a/mware/prog_avr.c +++ b/mware/prog_avr.c @@ -110,7 +110,7 @@ static void prog_loadPage(avr_page_t page) /** * Write program memory. - * Write \param size bytes from buffer \param buf to file \param *fd + * Write \param size bytes from buffer \param _buf to file \param *fd * \note Write operations are buffered. */ size_t prog_write(struct _KFile *fd, const void *_buf, size_t size) @@ -146,7 +146,7 @@ size_t prog_write(struct _KFile *fd, const void *_buf, size_t size) } /** - * Open flash file \param *fd. + * Open flash file \param *fd * \param name and \param mode are unused, cause flash memory is * threated like one file. */ -- 2.25.1