Trick to reset wdt on new AVR core.
[bertos.git] / bertos / cfg / cfg_i2c.h
index 6c5ee2fab779717995ed7d1a9d1d90f087a15206..376ad5b95a18d53f404fcc43066de9f69ae6b98f 100644 (file)
  */
 #define CONFIG_I2C_START_TIMEOUT 100
 
+/**
+ * I2C driver can have 2 backends:
+ * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware.
+ * I2C_BACKEND_BITBANG: Use the emulated bitbang driver.
+ * \see drv/i2c.h for more information.
+ */
+#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN
+
 /// Module logging level definition.
 #define I2C_LOG_LEVEL      LOG_LVL_INFO
 
 /// Module logging format.
-#define I2C_LOG_FORMAT     LOG_FMT_TERSET
+#define I2C_LOG_FORMAT     LOG_FMT_TERSE
 
 #endif /* CFG_I2C_H */