X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino-mega%2Ftemplates%2Farduino-mega_empty%2Fcfg%2Fcfg_i2c.h;h=ea599a810bd57531f4cdec79fbd7282d79b99b56;hb=6fffd0614f75137e8fed424c87835d4e7d478ef7;hp=7df0d097746c4e5c28c4130550c25135018a9e0b;hpb=916115afea98a1f0b520ee72be7892261a24e9ff;p=bertos.git diff --git a/boards/arduino-mega/templates/arduino-mega_empty/cfg/cfg_i2c.h b/boards/arduino-mega/templates/arduino-mega_empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/arduino-mega/templates/arduino-mega_empty/cfg/cfg_i2c.h +++ b/boards/arduino-mega/templates/arduino-mega_empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * 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. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level.