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

8 lines
133 B
C
Raw Normal View History

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