Project

General

Profile

Revision 351

Added by Jason knichel about 16 years ago

added some TODO to analog.c

View differences:

trunk/code/lib/src/libdragonfly/analog.c
38 38
#include "analog.h"
39 39
#include "serial.h"
40 40
// Internal Function Prototypes
41
//TODO: if this function is only used in this file, make it static
41 42
void set_adc_mux(int which);
42 43

  
43 44
/**
......
48 49
 * @{
49 50
 **/
50 51

  
52
//TODO: if these variables are only used in this file, make them static
51 53
int adc_loop_running = 0;
52 54
int adc_current_port = 0;
53 55
adc_t an_val[11];
......
58 60
 *
59 61
 * @see analog8, analog10
60 62
 **/
61
void analog_init(int start_conversion)
62
{
63
void analog_init(int start_conversion) {
63 64
	for (int i = 0; i < 11; i++) {
64 65
		an_val[i].adc10 = 0;
65 66
		an_val[i].adc8 = 0;

Also available in: Unified diff