From 361a581dcc14475e03d688decb21120171473b57 Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 27 Jul 2010 14:58:37 +0000 Subject: [PATCH] Remove dependece from log module. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4078 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/i2c.h | 10 ---------- 1 file changed, 10 deletions(-) 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; } -- 2.25.1