forked from achamaikin/CCSModuleSW30Web
latest version before merge
This commit is contained in:
1 parent
c59d150b23
commit
28d63c7270
6 files changed
+13
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#ifndef ISR_OPT_H
|
||||
#define ISR_OPT_H
|
||||
|
||||
/* GCC: быстрые функции, вызываемые из IRQ / из HAL из IRQ-контекста */
|
||||
#if defined(__GNUC__)
|
||||
#define ISR_FAST __attribute__((optimize("Ofast")))
|
||||
#else
|
||||
#define ISR_FAST
|
||||
#endif
|
||||
|
||||
#endif /* ISR_OPT_H */
|
||||
Reference in new issue
Block a user