targets/plc_main_tail.c
changeset 995 5dcb361a55ef
parent 991 afc4963d8f0c
child 996 17d9c81b5ed8
--- 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){