equal
deleted
inserted
replaced
9 #define LOG_DEBUG 3 |
9 #define LOG_DEBUG 3 |
10 |
10 |
11 extern unsigned long long common_ticktime__; |
11 extern unsigned long long common_ticktime__; |
12 |
12 |
13 #ifdef TARGET_LOGGING_DISABLE |
13 #ifdef TARGET_LOGGING_DISABLE |
14 #define LogMessage(level, buf, size) |
14 static inline int LogMessage(uint8_t level, char* buf, uint32_t size) |
|
15 { |
|
16 (void)level; |
|
17 (void)buf; |
|
18 (void)size; |
|
19 return 0; |
|
20 } |
15 #else |
21 #else |
16 int LogMessage(uint8_t level, char* buf, uint32_t size); |
22 int LogMessage(uint8_t level, char* buf, uint32_t size); |
17 #endif |
23 #endif |
18 |
24 |
19 long AtomicCompareExchange(long* atomicvar,long compared, long exchange); |
25 long AtomicCompareExchange(long* atomicvar,long compared, long exchange); |