ardupilot/libraries/Desktop/include/avr/interrupt.h
Andrew Tridgell 6f44415b19 desktop: make ISRs normal C++ functions
this will make it possible to add an abstract register simulation
class that allows us to intercept device IO
2011-10-11 17:49:40 +11:00

13 lines
170 B
C

#ifndef _AVR_INTERRUPT_H_
#define _AVR_INTERRUPT_H_
#include "io.h"
#define ISR(vector,...) void vector(void); \
void vector(void)
#define cli()
#define sei()
#endif