# HG changeset patch
# User Edouard Tisserant
# Date 1364269484 -32400
# Node ID 15c05ba95df48733e84d81c740305a230094b132
# Parent  3f966bbb3fba98d4308e804062a4196b665118c4
LogMessage string pointer now char* instead of uint8_t*

diff -r 3f966bbb3fba -r 15c05ba95df4 targets/beremiz.h
--- 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);
 
diff -r 3f966bbb3fba -r 15c05ba95df4 targets/plc_main_tail.c
--- 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;