Skip to content

Commit 93eb0c2

Browse files
author
Mika Leppänen
committed
Fixed emac test function parameter errors
1 parent 9e73e80 commit 93eb0c2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

TESTS/network/emac/emac_TestMemoryManager.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class EmacTestMemoryManager : public EMACMemoryManager {
113113
* If memory buffer is chained must point to the start of the chain. Frees all buffers
114114
* from the chained list.
115115
*
116-
* @param mem Memory buffer chain to be freed.
116+
* @param buf Memory buffer chain to be freed.
117117
*/
118118
virtual void free(emac_mem_buf_t *buf);
119119

@@ -122,7 +122,7 @@ class EmacTestMemoryManager : public EMACMemoryManager {
122122
*
123123
* Returns a total length of this buffer and any following buffers in the chain.
124124
*
125-
* @param mem Memory buffer chain
125+
* @param buf Memory buffer chain
126126
* @return Total length in bytes
127127
*/
128128
virtual uint32_t get_total_len(const emac_mem_buf_t *buf) const;
@@ -155,23 +155,23 @@ class EmacTestMemoryManager : public EMACMemoryManager {
155155
*
156156
* Returns the next buffer from the memory buffer chain.
157157
*
158-
* @param mem Memory buffer
158+
* @param buf Memory buffer
159159
* @return The next memory buffer, or NULL if last
160160
*/
161161
virtual emac_mem_buf_t *get_next(const emac_mem_buf_t *buf) const;
162162

163163
/**
164164
* Return pointer to the payload of the buffer
165165
*
166-
* @param mem Memory buffer
166+
* @param buf Memory buffer
167167
* @return Pointer to the payload
168168
*/
169169
virtual void *get_ptr(const emac_mem_buf_t *buf) const;
170170

171171
/**
172172
* Return payload size of the buffer
173173
*
174-
* @param mem Memory buffer
174+
* @param buf Memory buffer
175175
* @return Size in bytes
176176
*/
177177
virtual uint32_t get_len(const emac_mem_buf_t *buf) const;
@@ -182,7 +182,7 @@ class EmacTestMemoryManager : public EMACMemoryManager {
182182
* The allocated payload size will not change. It is not permitted
183183
* to change the length of a buffer that is not the first (or only) in a chain.
184184
*
185-
* @param mem Memory buffer
185+
* @param buf Memory buffer
186186
* @param len Payload size, must be less or equal allocated size
187187
*/
188188
virtual void set_len(emac_mem_buf_t *buf, uint32_t len);

TESTS/network/emac/emac_TestNetworkStack.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab
8888

8989
/** Copies IP address of the network interface to user supplied buffer
9090
*
91-
* @param emac EMAC HAL implementation for this network interface
9291
* @param buf buffer to which IP address will be copied as "W:X:Y:Z"
9392
* @param buflen size of supplied buffer
9493
* @return Pointer to a buffer, or NULL if the buffer is too small

0 commit comments

Comments
 (0)