Ignore:
Timestamp:
05/13/11 12:39:16 (14 years ago)
Author:
neise
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • firmware/FSC/src/w5100_spi_interface.c

    r10697 r10698  
    300300// returns number of words, transmitted into TX - buffer.
    301301U16 w5100_set_TX(U08* string, U16 NumBytes) {
     302
    302303        U16 freesize = get_S0_TX_FSR();
    303304        if (freesize == 0)
     
    305306                return 0;
    306307        }
     308        usart_write_str((U08*)"sending via eth: with pointer:");
     309        usart_write_U16_hex(string);
     310        usart_write_str((U08*)" #of bytes: ");
     311        usart_write_U16(NumBytes,4 );
     312        usart_write_char(' \n');
    307313       
    308314        U16 last_TX_write_pointer = get_S0_TX_WR();
     
    312318
    313319        U16 upper_size, lower_size;
     320        /*
    314321        if (NumBytes > ETH_WRITE_BUFFER_SIZE)
    315322        {
     
    320327                return 0;
    321328        }
    322         else if ( freesize < NumBytes )
     329        else */
     330        if ( freesize < NumBytes )
    323331        {
    324332                NumBytes = freesize;
Note: See TracChangeset for help on using the changeset viewer.