--- a/targets/beremiz.h Tue Mar 26 09:31:20 2013 +0900
+++ b/targets/beremiz.h Tue Mar 26 12:44:44 2013 +0900
@@ -9,5 +9,5 @@
#define LOG_DEBUG 3
extern unsigned long long common_ticktime__;
-int LogMessage(uint8_t level, uint8_t* buf, uint32_t size);
+int LogMessage(uint8_t level, char* buf, uint32_t size);
--- a/targets/plc_main_tail.c Tue Mar 26 09:31:20 2013 +0900
+++ b/targets/plc_main_tail.c Tue Mar 26 12:44:44 2013 +0900
@@ -55,7 +55,7 @@
static uint64_t LogCursor[LOG_LEVELS] LOG_BUFFER_ATTRS = {0x0,0x0,0x0,0x0};
/* Store one log message of give size */
-int LogMessage(uint8_t level, uint8_t* buf, uint32_t size){
+int LogMessage(uint8_t level, char* buf, uint32_t size){
if(size < LOG_BUFFER_SIZE - sizeof(mTail)){
uint32_t buffpos;
uint64_t new_cursor, old_cursor;