latest version before merge

This commit is contained in:
2026-05-05 12:25:11 +03:00
parent c59d150b23
commit 28d63c7270
6 changed files with 13 additions and 1 deletions
+11
View File
@@ -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 */