Project

General

Profile

Revision 352

Added by Jason knichel about 16 years ago

added some TODO statements to bom.c

View differences:

trunk/code/lib/src/libdragonfly/bom.c
39 39
#include "analog.h"
40 40

  
41 41
//constants
42
//TODO: for better readability, make all of these hex or decimal
42 43
const int lookup[16] = {7,6,5,0xe,1,4,3,2,0xf,0,0xd,8,0xc,0xb,9,0xa};
43 44

  
44 45
// internal function prototypes
46
//TODO: if these are only used in this file, make them static
45 47
void output_high(int which);
46 48
void output_low(int which);
47 49

  
......
110 112
 **/
111 113
int get_max_bom(void) {
112 114
	int max_bom_temp = 0;
115
	//TODO: renamed a, i, and h to give them meaningful names
113 116
	int a, i, j, h;
114 117
    h = 255;
115 118

  
......
196 199
void output_low(int which) {
197 200
	digital_output(which, 0);
198 201
}
199

  

Also available in: Unified diff