mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 18:38:28 -04:00
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
Block a user