Changeset 11788


Ignore:
Timestamp:
08/05/11 14:12:08 (13 years ago)
Author:
neise
Message:
multiple changes ... chaos.
File:
1 edited

Legend:

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

    r11667 r11788  
    6767        ad7719_channels_ready[i]=0;
    6868        }
     69
    6970for ( U08 i=0; i < (VOLTAGE_REGS); ++i ) {
    7071        if (i < (VOLTAGE_REGS)-1)
     
    238239                        adc_values[*adc_current_channel] += *adc_current_reading;
    239240                        adc_channels_ready[*adc_current_channel/8] |= (1<<(*adc_current_channel%8));
     241                       
     242                        if (rc==0x17) {
     243                                eth_write_str(nc_U32_to_str(sec, 1));
     244                                eth_write_buffer[eth_write_index] = '.';        eth_write_index++;      eth_write_str(nc_U16_to_str(sec, 1));
     245                                eth_write_buffer[eth_write_index] = '\t';       eth_write_index++;      eth_write_str(nc_U08_to_str(*adc_current_channel,1));
     246                                eth_write_buffer[eth_write_index] = '\t';       eth_write_index++;      eth_writeln_str(nc_U16_to_str(*adc_current_reading,1));
     247                        }
     248                       
    240249                        *adc_current_channel = increase_adc (*adc_current_channel);
    241250                        adc_values[*adc_current_channel] = 0;
Note: See TracChangeset for help on using the changeset viewer.