projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de804c9
)
Merged from external project:
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 6 Oct 2008 17:21:55 +0000
(17:21 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 6 Oct 2008 17:21:55 +0000
(17:21 +0000)
**********
r22413 | batt | 2008-10-03 12:47:32 +0200 (Fri, 03 Oct 2008) | 1 line
Add log configuration to i2c.
**********
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1876
38d2e660
-2303-0410-9eaa-
f027e97ec537
bertos/cfg/cfg_i2c.h
patch
|
blob
|
history
diff --git
a/bertos/cfg/cfg_i2c.h
b/bertos/cfg/cfg_i2c.h
index 5db96e2f9eceabe891fcd0274b82ca6908c46d91..6c5ee2fab779717995ed7d1a9d1d90f087a15206 100644
(file)
--- a/
bertos/cfg/cfg_i2c.h
+++ b/
bertos/cfg/cfg_i2c.h
@@
-50,6
+50,12
@@
*/
#define CONFIG_I2C_START_TIMEOUT 100
+/// Module logging level definition.
+#define I2C_LOG_LEVEL LOG_LVL_INFO
+
+/// Module logging format.
+#define I2C_LOG_FORMAT LOG_FMT_TERSET
+
#endif /* CFG_I2C_H */