Changeset 17633 for firmware


Ignore:
Timestamp:
03/18/14 16:31:22 (11 years ago)
Author:
dneise
Message:
a lot of whitespace changes and removed unneeded includes
Location:
firmware/FSC/src
Files:
2 edited

Legend:

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

    r10697 r17633  
    3434  SET_BIT(PORTD,SPI_AD_CS);
    3535#ifdef AD7719_COM_DELAY_NEEDED
    36 _delay_us(50);
     36    _delay_us(50);
    3737#endif
    3838
     
    4141  SET_BIT(PORTD,SPI_AD_CS);
    4242#ifdef AD7719_COM_DELAY_NEEDED
    43 _delay_us(50);
     43    _delay_us(50);
    4444#endif
    4545
     
    4949 
    5050#ifdef AD7719_COM_DELAY_NEEDED
    51 _delay_us(50);
     51    _delay_us(50);
    5252#endif
    5353
     
    5656  SET_BIT(PORTD,SPI_AD_CS);
    5757#ifdef AD7719_COM_DELAY_NEEDED
    58 _delay_us(50);
     58    _delay_us(50);
    5959#endif
    6060  CLR_BIT(PORTD,SPI_AD_CS);
     
    6363
    6464#ifdef AD7719_COM_DELAY_NEEDED
    65 _delay_us(50);
     65    _delay_us(50);
    6666#endif
    6767
     
    7171
    7272#ifdef AD7719_COM_DELAY_NEEDED
    73 _delay_us(50);
     73    _delay_us(50);
    7474#endif
    7575  CLR_BIT(PORTD,SPI_AD_CS);
     
    7777  SET_BIT(PORTD,SPI_AD_CS);
    7878#ifdef AD7719_COM_DELAY_NEEDED
    79 _delay_us(50);
     79    _delay_us(50);
    8080#endif
    8181  CLR_BIT(PORTD,SPI_AD_CS);
     
    8484
    8585#ifdef AD7719_COM_DELAY_NEEDED
    86 _delay_us(50);
     86    _delay_us(50);
    8787#endif
    8888
     
    9292
    9393#ifdef AD7719_COM_DELAY_NEEDED
    94 _delay_us(50);
     94    _delay_us(50);
    9595#endif
    9696
     
    100100
    101101#ifdef AD7719_COM_DELAY_NEEDED
    102 _delay_us(50);
     102    _delay_us(50);
    103103#endif
    104104
     
    108108
    109109#ifdef AD7719_COM_DELAY_NEEDED
    110 _delay_us(50);
     110    _delay_us(50);
    111111#endif
    112112
     
    116116
    117117#ifdef AD7719_COM_DELAY_NEEDED
    118 _delay_us(50);
     118    _delay_us(50);
    119119#endif
    120120
     
    124124
    125125#ifdef AD7719_COM_DELAY_NEEDED
    126 _delay_us(50);
    127 #endif
    128 
    129 // these
     126    _delay_us(50);
     127#endif
     128
    130129  CLR_BIT(PORTD,SPI_AD_CS);
    131130  spi_transfer_byte(FILTER_RD);         // Next Operation is read from Filter register...
     
    133132
    134133#ifdef AD7719_COM_DELAY_NEEDED
    135 _delay_us(50);
     134    _delay_us(50);
    136135#endif
    137136
     
    141140
    142141#ifdef AD7719_COM_DELAY_NEEDED
    143 _delay_us(50);
     142    _delay_us(50);
    144143#endif
    145144}
  • firmware/FSC/src/ad7719_adc.h

    r10697 r17633  
    33//-----------------------------------------------------------------------------
    44
    5 #include "typedefs.h"
    65#include "application.h"
    7 #include "num_conversion.h"
     6//#include "num_conversion.h"
    87//-----------------------------------------------------------------------------
    98// SPI INTERFACE of AD7719
Note: See TracChangeset for help on using the changeset viewer.