Skip to content
Snippets Groups Projects
irq.cpp 212 B
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();
}