mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #6780 from bmcdonnell-ionx/fix-lwip-compiler-warning
resolve LWIP compiler warningpull/6667/merge
commit
2729c7aa23
|
@ -611,7 +611,7 @@ static err_t lpc_low_level_output(struct netif *netif, struct pbuf *p)
|
|||
/* Wait until enough descriptors are available for the transfer. */
|
||||
/* THIS WILL BLOCK UNTIL THERE ARE ENOUGH DESCRIPTORS AVAILABLE */
|
||||
#if NO_SYS == 0
|
||||
for (idx = 0; idx < dn; idx++) {
|
||||
for (s32_t count = 0; count < dn; count++) {
|
||||
osSemaphoreAcquire(lpc_enetif->xTXDCountSem.id, osWaitForever);
|
||||
}
|
||||
MBED_ASSERT(dn <= lpc_tx_ready(netif));
|
||||
|
|
Loading…
Reference in New Issue