From: asterix Date: Tue, 27 Jul 2010 14:58:37 +0000 (+0000) Subject: Remove dependece from log module. X-Git-Tag: 2.6.0~288^2~17 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=361a581dcc14475e03d688decb21120171473b57;p=bertos.git Remove dependece from log module. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4078 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/drv/i2c.h b/bertos/drv/i2c.h index 268e2451..7731cd81 100644 --- a/bertos/drv/i2c.h +++ b/bertos/drv/i2c.h @@ -45,11 +45,6 @@ #include "cfg/cfg_i2c.h" -#define LOG_LEVEL I2C_LOG_LEVEL -#define LOG_FORMAT I2C_LOG_FORMAT - -#include - #include #include #include @@ -296,11 +291,6 @@ INLINE int i2c_error(I2c *i2c) int err = i2c->errors; i2c->errors = 0; - LOG_ERRB( - if (err) - LOG_ERR("err[%02x]\n", err); - ); - return err; }