Ignore:
Timestamp:
05/12/11 17:47:17 (14 years ago)
Author:
neise
Message:
 
File:
1 edited

Legend:

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

    r10667 r10677  
    1111#include "parser.h"
    1212#include "interpol.h"
     13#include "timer.h"
    1314#include "w5100_spi_interface.h"
    1415#include <avr/interrupt.h>
     
    2930        bool verbose;
    3031        bool heartbeat_enable;
    31 
     32/*
    3233// USART global variables
    3334        U08 usart_rx_buffer[USART_RX_BUFFER_SIZE];
     
    3940// USART FLAGS
    4041        bool usart_tx_buffer_overflow = false;  // true if usart_tx_buffer was full.
    41        
     42        */
    4243// TIMER global variable
    4344        volatile U32 local_ms = 0;
    4445
    4546// AD7719 global variables
    46         U32 ad7719_values[TEMP_CHANNELS];
    47         U08 ad7719_enables[CHANNEL_BITMAP];
    48         U08 ad7719_channels_ready[CHANNEL_BITMAP];
     47        U32 ad7719_values[RESISTANCE_CHANNELS];
     48        U08 ad7719_enables[RESISTANCE_CHANNELS/8];
     49        U08 ad7719_channels_ready[RESISTANCE_CHANNELS/8];
    4950        U08 ad7719_readings_since_last_muxing = 0;
    5051        U08 ad7719_current_channel = 0;
     
    5354       
    5455// ATMEGA ADC global variables
    55         U08 adc_values[V_CHANNELS + I_CHANNELS + H_CHANNELS]; // stores measured voltage in steps of 16mV
    56         U08 adc_enables[V_BITMAP + I_BITMAP + H_BITMAP];
    57         U08 adc_channels_ready[V_BITMAP + I_BITMAP + H_BITMAP];
     56        U08 adc_values[VOLTAGE_CHANNELS]; // stores measured voltage in steps of 16mV
     57        U08 adc_enables[VOLTAGE_CHANNELS/8];
     58        U08 adc_channels_ready[VOLTAGE_CHANNELS/8];
    5859        U08 adc_readings_since_last_muxing = 0;
    5960        U08 adc_current_channel = 0;
     
    356357*/
    357358
    358 
     359/*
    359360
    360361ISR (TIMER2_COMP_vect)
     
    366367
    367368
     369*/
Note: See TracChangeset for help on using the changeset viewer.