Changeset 11669 for firmware/FSC
- Timestamp:
- 07/27/11 19:34:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FSC/src/w5100_spi_interface.c
r11667 r11669 490 490 void eth_write_str( U08* str ){ 491 491 492 while (*str) { 493 if (eth_write_index < ETH_WRITE_BUFFER_SIZE) { 494 eth_write_buffer[eth_write_index++] = *str++; 495 } 496 492 while (*str && eth_write_index < ETH_WRITE_BUFFER_SIZE) 493 { 494 eth_write_buffer[eth_write_index++] = *str++; 497 495 } 498 496 w5100_set_TX(eth_write_buffer, eth_write_index); … … 502 500 void eth_writeln_str( U08* str ){ 503 501 504 while (*str) 505 { 506 if (eth_write_index < ETH_WRITE_BUFFER_SIZE) { 507 eth_write_buffer[eth_write_index++] = *str++; 508 } 502 while (*str && eth_write_index < ETH_WRITE_BUFFER_SIZE) 503 { 504 eth_write_buffer[eth_write_index++] = *str++; 509 505 } 510 506 if (eth_write_index < ETH_WRITE_BUFFER_SIZE) {
Note:
See TracChangeset
for help on using the changeset viewer.