File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/TARGET_LPCTarget Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ static err_t lpc_low_level_output(struct netif *netif, struct pbuf *p)
557
557
u8_t * dst ;
558
558
u32_t idx , notdmasafe = 0 ;
559
559
struct pbuf * np ;
560
- s32_t count , dn ;
560
+ s32_t dn ;
561
561
562
562
/* Zero-copy TX buffers may be fragmented across mutliple payload
563
563
chains. Determine the number of descriptors needed for the
@@ -611,7 +611,7 @@ static err_t lpc_low_level_output(struct netif *netif, struct pbuf *p)
611
611
/* Wait until enough descriptors are available for the transfer. */
612
612
/* THIS WILL BLOCK UNTIL THERE ARE ENOUGH DESCRIPTORS AVAILABLE */
613
613
#if NO_SYS == 0
614
- for (count = 0 ; count < dn ; count ++ ) {
614
+ for (s32_t count = 0 ; count < dn ; count ++ ) {
615
615
osSemaphoreAcquire (lpc_enetif -> xTXDCountSem .id , osWaitForever );
616
616
}
617
617
MBED_ASSERT (dn <= lpc_tx_ready (netif ));
You can’t perform that action at this time.
0 commit comments