targets/beremiz.h
author Laurent Bessard
Wed, 27 Mar 2013 09:36:26 +0100
changeset 1007 025ac12cd0d2
parent 1002 15c05ba95df4
child 1050 56bef276055e
permissions -rw-r--r--
Added automatic line wrapping to log console
/* 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);