And more.

This commit is contained in:
OBattler
2022-02-20 02:01:56 +01:00
parent b4c1e801c5
commit f06736ed9a

View File

@@ -352,13 +352,13 @@ network_rx_queue(void *priv)
{ {
int ret = 1; int ret = 1;
netpkt_t *pkt = NULL;
if (network_rx_pause || !thread_test_mutex(network_mutex)) { if (network_rx_pause || !thread_test_mutex(network_mutex)) {
timer_on_auto(&network_rx_queue_timer, 0.762939453125 * 2.0 * 128.0); timer_on_auto(&network_rx_queue_timer, 0.762939453125 * 2.0 * 128.0);
return; return;
} }
netpkt_t *pkt = NULL;
network_busy(1); network_busy(1);
network_queue_get(0, &pkt); network_queue_get(0, &pkt);