ardupilot/libraries/Desktop/include/avr/interrupt.h
Andrew Tridgell 37275d229d SITL: implement cli()/sei() properly for desktop build
this disables simulated hardware interrupts during critical sections
2012-03-02 15:48:27 +11:00

15 lines
189 B
C

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