X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fi2c.c;h=ae4237097769eab5628eaf7eb08de91618dda0ed;hb=41718ab2098bd5640da265c34f1ecb79a4123d39;hp=44798aa935963bc8b07f610f0df1e1466336176a;hpb=53a85c63e98a7ec7456db33b665484df3da33fdb;p=bertos.git diff --git a/bertos/drv/i2c.c b/bertos/drv/i2c.c index 44798aa9..ae423709 100644 --- a/bertos/drv/i2c.c +++ b/bertos/drv/i2c.c @@ -41,6 +41,8 @@ #if !CONFIG_I2C_DISABLE_OLD_API +I2c local_i2c_old_api; + /** * Send a sequence of bytes in master transmitter mode * to the selected slave device through the I2C bus.