Fix compilation problem in case of TARGET_LOGGING_DISABLE turned on and TARGET_DEBUG_DISABLE turned off
--- a/targets/beremiz.h Thu Jun 07 14:04:45 2018 +0300
+++ b/targets/beremiz.h Thu Jun 07 14:12:18 2018 +0300
@@ -9,6 +9,12 @@
#define LOG_DEBUG 3
extern unsigned long long common_ticktime__;
-int LogMessage(uint8_t level, char* buf, uint32_t size);
+
+#ifdef TARGET_LOGGING_DISABLE
+#define LogMessage(level, buf, size)
+#else
+int LogMessage(uint8_t level, char* buf, uint32_t size);
+#endif
+
long AtomicCompareExchange(long* atomicvar,long compared, long exchange);