X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fdrv%2Fi2c_lm3s.h;h=5a76f93ff61e63bab21e1079f62c22a922c3e02a;hb=f81df2ee3de292493462ee9d0a8905eaafb57243;hp=b7d30e1656b351999f2ae15995e03b0c39e18e6b;hpb=822a7effbdc46efc53e71efcee2a88763574dba5;p=bertos.git diff --git a/bertos/cpu/cortex-m3/drv/i2c_lm3s.h b/bertos/cpu/cortex-m3/drv/i2c_lm3s.h index b7d30e16..5a76f93f 100644 --- a/bertos/cpu/cortex-m3/drv/i2c_lm3s.h +++ b/bertos/cpu/cortex-m3/drv/i2c_lm3s.h @@ -32,6 +32,7 @@ * * \brief Driver for the LM3S I2C (interface) * + * \author Daniele Basile */ #ifndef I2C_LM3S_H @@ -44,9 +45,12 @@ */ enum { +#if CPU_CM3_LM3S1968 I2C0, I2C1, - +#elif CPU_CM3_LM3S8962 + I2C0, +#enif I2C_CNT /**< Number of serial ports */ };