beremiz
Clone
Summary
Browse
Changes
Graph
fix copying elements with non-latin content like comment element, or
2016-04-27, Andrey Skvortsov
5ecb16be9a3c
fix copying elements with non-latin content like comment element, or
variables with description in non-latin character set
before any non-latin text was converted after copying to strings like 'Это...'
/* Beremiz' header file for use by extensions */
#include "iec_types.h"
#define LOG_LEVELS 4
#define LOG_CRITICAL 0
#define LOG_WARNING 1
#define LOG_INFO 2
#define LOG_DEBUG 3
extern unsigned long long common_ticktime__;
int LogMessage(uint8_t level, char* buf, uint32_t size);
long AtomicCompareExchange(long* atomicvar,long compared, long exchange);