beremiz

Extended LogCursor attributes

2013-03-22, Edouard Tisserant
5dcb361a55ef
Parents 0401295d9804
Children 17d9c81b5ed8
Extended LogCursor attributes
--- 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){