Browse Source

drivers/wiznet5k: Fix indentation so it's not misleading.

Otherwise gcc 6.1.1 raises a misleading-indentation error.
pull/4045/head
Damien George 8 years ago
parent
commit
dfe056df6f
  1. 2
      drivers/wiznet5k/ethernet/socket.c

2
drivers/wiznet5k/ethernet/socket.c

@ -157,7 +157,7 @@ int8_t WIZCHIP_EXPORT(socket)(uint8_t sn, uint8_t protocol, uint16_t port, uint8
setSn_PORT(sn,port);
setSn_CR(sn,Sn_CR_OPEN);
while(getSn_CR(sn));
sock_io_mode |= ((flag & SF_IO_NONBLOCK) << sn);
sock_io_mode |= ((flag & SF_IO_NONBLOCK) << sn);
sock_is_sending &= ~(1<<sn);
sock_remained_size[sn] = 0;
sock_pack_info[sn] = 0;

Loading…
Cancel
Save