Revision 296
Changed interrupt value.
analog.c | ||
---|---|---|
192 | 192 |
PORTG = (PORTG & 0xE3) | ((which & 0x03) << 3) | (which & 0x04); |
193 | 193 |
} |
194 | 194 |
|
195 |
ISR(ANALOG_COMP_vect) {
|
|
195 |
ISR(ADC_vect) {
|
|
196 | 196 |
//Only perform this if we are running the loop |
197 | 197 |
if (!adc_loop_running) |
198 | 198 |
return; |
Also available in: Unified diff