From 83392fc9163dad6ad4267594b95f0f51f0b23fc7 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 13 Jan 2020 19:22:08 +0900 Subject: [PATCH] Fix doxygen documentation --- Doxyfile | 2 +- src/UDPC.h | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Doxyfile b/Doxyfile index 4a1b6f6..56d96f5 100644 --- a/Doxyfile +++ b/Doxyfile @@ -102,7 +102,7 @@ WARN_NO_PARAMDOC = NO WARN_AS_ERROR = NO WARN_FORMAT = "$file:$line: $text" WARN_LOGFILE = -INPUT = "src/UDPConnection.h" +INPUT = "src/UDPC.h" INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \ diff --git a/src/UDPC.h b/src/UDPC.h index 2cb9952..235ddac 100644 --- a/src/UDPC.h +++ b/src/UDPC.h @@ -1,10 +1,10 @@ /*! * \mainpage UDPConnection - * \ref UDPConnection.h + * \ref UDPC.h */ /*! - * \file UDPConnection.h + * \file UDPC.h * \brief Public API for UDPConnection */ @@ -171,8 +171,9 @@ typedef struct { * \brief The size in bytes of the received packet's data inside the \ref data * array member variable. * - * If this variable is zero, then this packet is invalid, or an empty packet - * was received. + * UDPC does not return an empty packet when calling UDPC_get_received(), so + * in such a packet dataSize shouldn't be zero. (UDPC only stores received + * packets that do have a payload.) */ uint16_t dataSize; uint16_t rtt;