This commit is contained in:
parent
96bfb2d105
commit
9997f3e295
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ static const uint8_t ifmac[] = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55};
|
|||
static uint8_t last_frame_sent[LINK_MTU];
|
||||
static uint32_t last_frame_sent_size = 0;
|
||||
|
||||
static int mock_send(struct ll *dev, void *frame, int len)
|
||||
static int mock_send(struct ll *dev, void *frame, uint32_t len)
|
||||
{
|
||||
(void)dev;
|
||||
memcpy(last_frame_sent, frame, len);
|
||||
|
@ -26,7 +26,7 @@ static int mock_send(struct ll *dev, void *frame, int len)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int mock_poll(struct ll *dev, void *frame, int len)
|
||||
static int mock_poll(struct ll *dev, void *frame, uint32_t len)
|
||||
{
|
||||
(void)dev;
|
||||
(void)frame;
|
||||
|
|
Loading…
Reference in a new issue