changeset 944 | 52a17be9c4d1 |
parent 923 | 6ef6e0b3a908 |
child 954 | ab487d32ce9a |
--- a/targets/plc_debug.c Tue Feb 26 01:17:53 2013 +0100 +++ b/targets/plc_debug.c Tue Feb 26 16:37:17 2013 +0900 @@ -312,7 +312,9 @@ #define LOG_INFO 2 #define LOG_DEBUG 3 +#ifndef LOG_BUFFER_SIZE #define LOG_BUFFER_SIZE (1<<14) /*16Ko*/ +#endif #define LOG_BUFFER_MASK (LOG_BUFFER_SIZE-1) static char LogBuff[LOG_LEVELS][LOG_BUFFER_SIZE]; void inline copy_to_log(uint8_t level, uint32_t buffpos, void* buf, uint32_t size){