#include "cfg/cfg_i2c.h"
-#define LOG_LEVEL I2C_LOG_LEVEL
-#define LOG_FORMAT I2C_LOG_FORMAT
-
-#include <cfg/log.h>
-
#include <cfg/compiler.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
int err = i2c->errors;
i2c->errors = 0;
- LOG_ERRB(
- if (err)
- LOG_ERR("err[%02x]\n", err);
- );
-
return err;
}