Ignore:
Timestamp:
06/05/11 18:37:23 (13 years ago)
Author:
neise
Message:
atmega thinks it receives 512 bytes all the time ... 
thats not true ... 
File:
1 edited

Legend:

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

    r10910 r10911  
    4343        U08 highbyte;
    4444        U08 lowbyte;
     45       
     46        U16 eth_red_bytes;
    4547
    4648        app_init();               // Setup: Watchdog and I/Os
     
    7173}
    7274
    73         static U08 welcome[]="FSC 0.2 \n build: 05.06.2010 - 12:57\n";
     75        static U08 welcome[]="FSC 0.2 \n build: 05.06.2010\n";
    7476        usart_write_str(welcome);
    7577        /*
     
    9799        if ( (milisec % W5100_INPUT_CHECK_TIME == 0) && (w5100_ready) )
    98100        {
    99                 if (get_S0_RX_RSR() != 0) { // we have something to read
    100                        
     101                eth_red_bytes = get_S0_RX_RSR();
     102                if (eth_red_bytes != 0) { // we have something to read
     103                        usart_write_str((pU08)"ethgot:");
     104                        usart_write_U16(eth_red_bytes, 7);
     105                        usart_write_crlf();
    101106                        parse_w5300_incoming( w5100_get_RX(ETH_READ_BUFFER_SIZE, true) );
    102107                }
Note: See TracChangeset for help on using the changeset viewer.