ardupilot/libraries/Desktop/include/avr/interrupt.h
Andrew Tridgell 7098e8cfa1 first rough build for desktop CPUs
this allows ArduPlane to build and startup on 'desktop' systems (eg. a
Linux box). Very rough for now, and only for HIL so far
2011-10-09 22:16:13 +11:00

13 lines
181 B
C

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