projects
/
platform
/
upstream
/
iotivity.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a12338
)
Fix compile error
author
Caiwen Zhang
<caiwen.zhang@intel.com>
Wed, 8 Oct 2014 19:22:57 +0000
(
03:22
+0800)
committer
Caiwen Zhang
<caiwen.zhang@intel.com>
Wed, 8 Oct 2014 19:22:57 +0000
(
03:22
+0800)
const modifier is required for new avr-gcc compiler
Change-Id: Ic6edb878e6de720c115ac30f88ad8ce3c2618e53
csdk/logger/src/logger.c
patch
|
blob
|
history
diff --git
a/csdk/logger/src/logger.c
b/csdk/logger/src/logger.c
index
e2297c2
..
c560367
100644
(file)
--- a/
csdk/logger/src/logger.c
+++ b/
csdk/logger/src/logger.c
@@
-44,7
+44,7
@@
static const uint16_t LINE_BUFFER_SIZE = (16 * 2) + 16 + 1; // Show 16 bytes, 2
PROGMEM const char level3[] = "ERROR";
PROGMEM const char level4[] = "FATAL";
- PROGMEM const char * LEVEL[] = {level0, level1, level2, level3, level4};
+ PROGMEM const char *
const
LEVEL[] = {level0, level1, level2, level3, level4};
static void OCLogString(LogLevel level, PROGMEM const char * tag, PROGMEM const char * logStr);
#ifdef ARDUINO_ARCH_AVR