Newer
Older
#include "irq.h"
#include <avr/interrupt.h>
#include "Controller.h"
ISR(TIMER0_OVF_vect)
{
controller.timer0_handler();
}
ISR(ADC_vect)
{
controller.adc_handler();
}
ISR(BADISR_vect)
{
reti();
}
#include "irq.h"
#include <avr/interrupt.h>
#include "Controller.h"
ISR(TIMER0_OVF_vect)
{
controller.timer0_handler();
}
ISR(ADC_vect)
{
controller.adc_handler();
}
ISR(BADISR_vect)
{
reti();
}