Project

General

Profile

Revision 1384

Added by James Kong over 14 years ago

Added bug comment on how analog loop works.

View differences:

branches/analog/code/projects/libdragonfly/analog.c
107 107
	//Start the conversion if requested
108 108
	if (start_conversion)
109 109
		analog_start_loop();
110
	else
111
		analog_stop_loop();
110
		
111
	//Conversion loop disabled by default
112 112
}	
113 113

  
114 114
/**
......
210 210
 * 0 for not running.
211 211
 *
212 212
 * @see analog_start_loop, analog_stop_loop
213
 *
214
 * @bug Doesn't actually tell you whether or
215
 * not the loop has fully stopped. adc_loop_running
216
 * is a signalling variable to tell the ISR to stop. 
217
 * need to differentiate the signal from the status.
213 218
 **/
214 219
int analog_loop_running(void) {
215 220
	return adc_loop_running;

Also available in: Unified diff