libftdi Archives

Subject: [PATCH] libftdi: Fix doxygen errors

From: Jim Paris <jim@xxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: mar@xxxxxxxx, Jim Paris <jim@xxxxxxxx>
Date: Fri, 22 May 2009 15:26:39 -0400
Signed-off-by: Jim Paris <jim@xxxxxxxx>
---
 ftdipp/ftdi.cpp |    9 +++++----
 src/ftdi.c      |    2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp
index e5a8966..8f9e2b9 100644
--- a/ftdipp/ftdi.cpp
+++ b/ftdipp/ftdi.cpp
@@ -303,21 +303,22 @@ int Context::get_strings()
     return 1;
 }
 
-/*! \fn vendor
- * \fn description
- * \fn serial
- * \brief Device strings properties.
+/*! \brief Device strings properties.
  */
 const std::string& Context::vendor()
 {
     return d->vendor;
 }
 
+/*! \brief Device strings properties.
+ */
 const std::string& Context::description()
 {
     return d->description;
 }
 
+/*! \brief Device strings properties.
+ */
 const std::string& Context::serial()
 {
     return d->serial;
diff --git a/src/ftdi.c b/src/ftdi.c
index e6f96cb..f89e352 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -1941,7 +1941,7 @@ int ftdi_eeprom_build(struct ftdi_eeprom *eeprom, 
unsigned char *output)
    Decode binary EEPROM image into an ftdi_eeprom structure.
 
    \param eeprom Pointer to ftdi_eeprom which will be filled in.
-   \param output Buffer of \a size bytes of raw eeprom data
+   \param buf Buffer of \a size bytes of raw eeprom data
    \param size size size of eeprom data in bytes
 
    \retval 0: all fine
-- 
1.6.0.6


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread