Skip to content

Commit 2729c7a

Browse files
authored
Merge pull request #6780 from bmcdonnell-ionx/fix-lwip-compiler-warning
resolve LWIP compiler warning
2 parents 0c61cf4 + 33a2116 commit 2729c7a

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/TARGET_LPCTarget

1 file changed

+1
-1
lines changed

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/TARGET_LPCTarget/lpc17_emac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ static err_t lpc_low_level_output(struct netif *netif, struct pbuf *p)
611611
/* Wait until enough descriptors are available for the transfer. */
612612
/* THIS WILL BLOCK UNTIL THERE ARE ENOUGH DESCRIPTORS AVAILABLE */
613613
#if NO_SYS == 0
614-
for (idx = 0; idx < dn; idx++) {
614+
for (s32_t count = 0; count < dn; count++) {
615615
osSemaphoreAcquire(lpc_enetif->xTXDCountSem.id, osWaitForever);
616616
}
617617
MBED_ASSERT(dn <= lpc_tx_ready(netif));

0 commit comments

Comments
 (0)