[avr] add interrupt tracing to TIMER1 ISR
This commit is contained in:
parent
8813c816ff
commit
dedbb4daf6
|
@ -181,7 +181,7 @@ ISR(TIMER1_COMPA_vect)
|
||||||
{
|
{
|
||||||
uint8_t muxn_l = phy_to_log[muxn];
|
uint8_t muxn_l = phy_to_log[muxn];
|
||||||
|
|
||||||
// DBG_ISR_BEGIN();
|
DBG_ISR_BEGIN();
|
||||||
|
|
||||||
MacU16X16to32(state[muxn_l].nano, sensor[muxn_l].meterconst, ADC);
|
MacU16X16to32(state[muxn_l].nano, sensor[muxn_l].meterconst, ADC);
|
||||||
|
|
||||||
|
@ -215,7 +215,7 @@ ISR(TIMER1_COMPA_vect)
|
||||||
/* Start a new ADC conversion. */
|
/* Start a new ADC conversion. */
|
||||||
ADCSRA |= (1<<ADSC);
|
ADCSRA |= (1<<ADSC);
|
||||||
|
|
||||||
// DBG_ISR_END();
|
DBG_ISR_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
ISR(ANALOG_COMP_vect)
|
ISR(ANALOG_COMP_vect)
|
||||||
|
|
Loading…
Reference in New Issue