diff options
-rw-r--r-- | libs/Network/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Network/tx.c b/libs/Network/tx.c index 0918d30..20a33a7 100644 --- a/libs/Network/tx.c +++ b/libs/Network/tx.c @@ -94,7 +94,7 @@ int32_t __attribute__((noinline)) Network_TX_allocateBlock(NetworkPort_t *port) RegAPETxToNetBufferAllocator_t status; do { - status = *((RegAPETxToNetBufferAllocator_t *)port->tx_allocator); + status = *port->tx_allocator; } while (APE_TX_TO_NET_BUFFER_ALLOCATOR_STATE_PROCESSING == status.bits.State); if (APE_TX_TO_NET_BUFFER_ALLOCATOR_STATE_ALLOCATION_OK != status.bits.State) |