cli(), sei()

This commit is contained in:
Todd Fleming 2017-01-04 22:00:27 -05:00
parent fb5ba4cfb9
commit 55eb5fb546

View File

@ -1,5 +1,7 @@
#pragma once
#include <mbed.h>
#define ISR(f) void f()
inline void cli() {}
inline void sei() {}
inline void cli() {__disable_irq();}
inline void sei() {__enable_irq();}