mirror of https://github.com/ARMmbed/mbed-os.git
K64F ENET: Update to remove unused variable. This is no longer available in the updated SDK ENET driver
parent
6c9715b738
commit
0a134b851a
|
@ -86,10 +86,8 @@ static void update_read_buffer(uint8_t *buf)
|
|||
/* Increases the buffer descriptor to the next one. */
|
||||
if (g_handle.rxBdCurrent->control & ENET_BUFFDESCRIPTOR_RX_WRAP_MASK) {
|
||||
g_handle.rxBdCurrent = g_handle.rxBdBase;
|
||||
g_handle.rxBdDirty = g_handle.rxBdBase;
|
||||
} else {
|
||||
g_handle.rxBdCurrent++;
|
||||
g_handle.rxBdDirty++;
|
||||
}
|
||||
|
||||
/* Actives the receive buffer descriptor. */
|
||||
|
|
Loading…
Reference in New Issue