grbl-LPC-CoreXY/smoother/avr/interrupt.h

8 lines
130 B
C
Raw Normal View History

2017-01-04 19:43:06 +01:00
#pragma once
2017-01-05 04:00:27 +01:00
#include <mbed.h>
#define ISR(f) void f()
2017-01-05 04:00:27 +01:00
inline void cli() {__disable_irq();}
inline void sei() {__enable_irq();}