4d5c1934a4
* Add send scs * Create scs dict * Fix compilation errors * Fix compile error * Change default include * Add Timer SCS manager * Remove unused files * Fix bugs * Add documentation * Add SCS manager bozza * Refactor * Use same naming convention * Add tick provider * Update header * Fix header bit translation * Test HandleNext OK * Remove linting * Remove indents * Add documentation * Improve docs * Remove pointer * Remove mailbox * Remove useless comment * Add newline * Fix compile errors * Separate scs entries from manager * Refactor * Fix include guards Co-authored-by: nicolagutierrez <nicolagutierrez.ng@gmail.com>
27 lines
489 B
C
27 lines
489 B
C
/**
|
|
* @file mmr_can_optimize.h
|
|
* @brief
|
|
* Low level optimization utilities.
|
|
*/
|
|
|
|
#ifndef INC_MMR_CAN_OPTIMIZE_H_
|
|
#define INC_MMR_CAN_OPTIMIZE_H_
|
|
|
|
#ifdef __GNUC__
|
|
/**
|
|
* @brief
|
|
* Tells the compiler that the given method
|
|
* must always be inlined.
|
|
*
|
|
* @example
|
|
* static always_inline int min(int a, int b) {
|
|
* return a < b ? a : b;
|
|
* }
|
|
*/
|
|
#define always_inline inline __attribute__((always_inline))
|
|
#else
|
|
#define always_inline inline
|
|
#endif
|
|
|
|
#endif /* INC_MMR_CAN_OPTIMIZE_H_ */
|