forked from achamaikin/CCSModuleSW30Web
12 lines
276 B
C
12 lines
276 B
C
#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 */
|