From 93eb0c2872467cccc2faf51b65de3e1c0cd021e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=20Lepp=C3=A4nen?= Date: Fri, 17 Aug 2018 11:54:41 +0300 Subject: [PATCH] Fixed emac test function parameter errors --- TESTS/network/emac/emac_TestMemoryManager.h | 12 ++++++------ TESTS/network/emac/emac_TestNetworkStack.h | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/TESTS/network/emac/emac_TestMemoryManager.h b/TESTS/network/emac/emac_TestMemoryManager.h index 80a536334e..319f14dffe 100644 --- a/TESTS/network/emac/emac_TestMemoryManager.h +++ b/TESTS/network/emac/emac_TestMemoryManager.h @@ -113,7 +113,7 @@ public: * If memory buffer is chained must point to the start of the chain. Frees all buffers * from the chained list. * - * @param mem Memory buffer chain to be freed. + * @param buf Memory buffer chain to be freed. */ virtual void free(emac_mem_buf_t *buf); @@ -122,7 +122,7 @@ public: * * Returns a total length of this buffer and any following buffers in the chain. * - * @param mem Memory buffer chain + * @param buf Memory buffer chain * @return Total length in bytes */ virtual uint32_t get_total_len(const emac_mem_buf_t *buf) const; @@ -155,7 +155,7 @@ public: * * Returns the next buffer from the memory buffer chain. * - * @param mem Memory buffer + * @param buf Memory buffer * @return The next memory buffer, or NULL if last */ virtual emac_mem_buf_t *get_next(const emac_mem_buf_t *buf) const; @@ -163,7 +163,7 @@ public: /** * Return pointer to the payload of the buffer * - * @param mem Memory buffer + * @param buf Memory buffer * @return Pointer to the payload */ virtual void *get_ptr(const emac_mem_buf_t *buf) const; @@ -171,7 +171,7 @@ public: /** * Return payload size of the buffer * - * @param mem Memory buffer + * @param buf Memory buffer * @return Size in bytes */ virtual uint32_t get_len(const emac_mem_buf_t *buf) const; @@ -182,7 +182,7 @@ public: * The allocated payload size will not change. It is not permitted * to change the length of a buffer that is not the first (or only) in a chain. * - * @param mem Memory buffer + * @param buf Memory buffer * @param len Payload size, must be less or equal allocated size */ virtual void set_len(emac_mem_buf_t *buf, uint32_t len); diff --git a/TESTS/network/emac/emac_TestNetworkStack.h b/TESTS/network/emac/emac_TestNetworkStack.h index 22724e7c2a..4cadc194ce 100644 --- a/TESTS/network/emac/emac_TestNetworkStack.h +++ b/TESTS/network/emac/emac_TestNetworkStack.h @@ -88,7 +88,6 @@ public: /** Copies IP address of the network interface to user supplied buffer * - * @param emac EMAC HAL implementation for this network interface * @param buf buffer to which IP address will be copied as "W:X:Y:Z" * @param buflen size of supplied buffer * @return Pointer to a buffer, or NULL if the buffer is too small