add STATIC for local variables
This commit is contained in:
@@ -73,6 +73,12 @@
|
||||
#include "core/std_descriptors.h"
|
||||
#include "osal/osal.h"
|
||||
|
||||
// TODO try to manipulate gcc cmd option instead
|
||||
#ifndef _TEST_
|
||||
#define STATIC_ static
|
||||
#else
|
||||
#define STATIC_
|
||||
#endif
|
||||
|
||||
/// form an uint32_t from 4 x uint8_t
|
||||
static inline uint32_t u32_from_u8(uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4) ATTR_ALWAYS_INLINE ATTR_CONST;
|
||||
|
||||
Reference in New Issue
Block a user