Changeset 11788
- Timestamp:
- 08/05/11 14:12:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FSC/src/FSC_eth_with_user_interface.c
r11667 r11788 67 67 ad7719_channels_ready[i]=0; 68 68 } 69 69 70 for ( U08 i=0; i < (VOLTAGE_REGS); ++i ) { 70 71 if (i < (VOLTAGE_REGS)-1) … … 238 239 adc_values[*adc_current_channel] += *adc_current_reading; 239 240 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 240 249 *adc_current_channel = increase_adc (*adc_current_channel); 241 250 adc_values[*adc_current_channel] = 0;
Note:
See TracChangeset
for help on using the changeset viewer.