forked from achamaikin/CCSModuleSW30Web
latest version before merge
This commit is contained in:
@@ -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