...
This commit is contained in:
parent
a2605f2784
commit
5fdb3cb778
1 changed files with 2 additions and 1 deletions
|
@ -814,7 +814,6 @@ err_t mmnif_init(struct netif* netif)
|
|||
static int num = 0;
|
||||
uint16_t speed = 4000;
|
||||
|
||||
DEBUGPRINTF("BARBARBARBARBARBARBARBARBARBARBARBARBAR");
|
||||
|
||||
/* Alloc and clear memory for the device struct
|
||||
*/
|
||||
|
@ -830,6 +829,8 @@ err_t mmnif_init(struct netif* netif)
|
|||
}
|
||||
memset(mmnif, 0, sizeof(mmnif_t));
|
||||
|
||||
DEBUGPRINTF("BARBARBARBARBARBARBARBARBARBARBARBARBAR");
|
||||
|
||||
/* Alloc and clear shared memory for rx_buff
|
||||
*/
|
||||
mmnif->rx_buff = mmnif_shmalloc((sizeof(mm_rx_buffer_t) + MMNIF_RX_QUEUELEN * MMNIF_RX_BUFFERLEN) * (MMNIF_CORES-1));
|
||||
|
|
Loading…
Add table
Reference in a new issue