From 87fcec11748c930e2d0d7f5310b0f6360018b2c1 Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 6 Oct 2008 17:21:55 +0000 Subject: [PATCH] Merged from external project: ********** 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bertos/cfg/cfg_i2c.h b/bertos/cfg/cfg_i2c.h index 5db96e2f..6c5ee2fa 100644 --- 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 */ -- 2.25.1