Changeset 18183
- Timestamp:
- 05/29/15 00:17:51 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FSC/src/FSC.c
r17634 r18183 56 56 // checks if socket is okay and resets in case of problem the W5100 57 57 rc=w5100_caretaker(); 58 if ( rc != 0x17 && rc != 0x14)58 if ( rc != SR_SOCK_ESTABLISHED && rc != SR_SOCK_LISTEN) 59 59 { 60 60 // something is not okay with the ethernet ... … … 64 64 if ( (gVolReg.time_ms % W5100_INPUT_CHECK_TIME == 0) && (w5100_ready) ) { 65 65 if ( (eth_red_bytes = get_S0_RX_RSR()) != 0) { 66 for (U08 rep=0; rep<1; ) {67 if (eth_red_bytes == get_S0_RX_RSR() ) {68 rep++;69 }70 else {71 eth_red_bytes =get_S0_RX_RSR();72 }73 }74 66 //parse_w5300_incoming( w5100_get_RX(ETH_READ_BUFFER_SIZE, true) ); 75 67 }
Note:
See TracChangeset
for help on using the changeset viewer.