X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino-mega%2Fexamples%2Farduino-mega_aprs%2Fcfg%2Fcfg_i2c.h;h=ea599a810bd57531f4cdec79fbd7282d79b99b56;hb=97e93eec653e38a04e94e5191bdbf5ea48edde96;hp=af36e6b621627ab0e077be6658503920dcec9e43;hpb=fb92ffd3a1318c75cf703770596a007ed72d4b13;p=bertos.git diff --git a/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_i2c.h b/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_i2c.h index af36e6b6..ea599a81 100644 --- a/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_i2c.h +++ b/boards/arduino-mega/examples/arduino-mega_aprs/cfg/cfg_i2c.h @@ -32,8 +32,6 @@ * * \brief Configuration file for I2C module. * - * \version $Id$ - * * \author Daniele Basile */ @@ -58,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * 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. + * Check this to disable I2c deprecated API support. * - * $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.