Extended LogCursor attributes
authorEdouard Tisserant
Fri, 22 Mar 2013 10:40:28 +0900
changeset 995 5dcb361a55ef
parent 994 0401295d9804
child 996 17d9c81b5ed8
Extended LogCursor attributes
targets/plc_main_tail.c
--- a/targets/plc_main_tail.c	Fri Mar 22 00:45:09 2013 +0100
+++ b/targets/plc_main_tail.c	Fri Mar 22 10:40:28 2013 +0900
@@ -58,7 +58,7 @@
    |63 ... 32|31 ... 0|
    | Message | Buffer |
    | counter | Index  | */
-static uint64_t LogCursor[LOG_LEVELS] = {0x0,0x0,0x0,0x0};
+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){