this allows ArduPlane to build and startup on 'desktop' systems (eg. a Linux box). Very rough for now, and only for HIL so far
13 lines
181 B
C
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
|