mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
c9031f1d36
this disables simulated hardware interrupts during critical sections
15 lines
189 B
C
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
|