Revision 437
Cleaned up analog.c code. Recompiled library. Mostly commenting and
documentation fixes. No changes made to actual code.
lights.c | ||
---|---|---|
104 | 104 |
|
105 | 105 |
} ORB_STATUS; |
106 | 106 |
|
107 |
//TODO: if these are only used in this file, make them static. If they are used |
|
108 |
// by other files then put them in a header file |
|
109 | 107 |
void orb_sort(void); |
110 | 108 |
void orb_setup_pulse(void); |
111 | 109 |
|
... | ... | |
214 | 212 |
|
215 | 213 |
} |
216 | 214 |
|
215 |
|
|
216 |
|
|
217 | 217 |
ORB_STATUS.current_orb = 0; |
218 | 218 |
|
219 | 219 |
ORBPORT |= ORBMASK; //start with all high |
220 | 220 |
OCR3C = TCNT3 + ORB_STATUS.changes[0].split_time_period; //wait for first split |
221 |
|
|
221 | 222 |
} |
222 | 223 |
|
223 | 224 |
/** |
Also available in: Unified diff