mirror of https://github.com/ArduPilot/ardupilot
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
This commit is contained in:
parent
74a85a1f3e
commit
6f44415b19
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "io.h"
|
||||
|
||||
#define ISR(vector,...) extern "C" void vector(void); \
|
||||
#define ISR(vector,...) void vector(void); \
|
||||
void vector(void)
|
||||
|
||||
#define cli()
|
||||
|
|
Loading…
Reference in New Issue