cli(), sei()
This commit is contained in:
parent
fb5ba4cfb9
commit
55eb5fb546
@ -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();}
|
||||
|
Loading…
Reference in New Issue
Block a user