aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/AVR/i2c_lld.h
diff options
context:
space:
mode:
authorutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-27 15:19:20 +0000
committerutzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-27 15:19:20 +0000
commitb874475dd7bd457edbe12b5965ba06a809965b5c (patch)
tree2de43efc29ad575a0ecf407cec766fb0270284bd /os/hal/platforms/AVR/i2c_lld.h
parent1076c100ced4eb5b378c50754d1d83eaef37d334 (diff)
downloadChibiOS-b874475dd7bd457edbe12b5965ba06a809965b5c.tar.gz
ChibiOS-b874475dd7bd457edbe12b5965ba06a809965b5c.tar.bz2
ChibiOS-b874475dd7bd457edbe12b5965ba06a809965b5c.zip
Make AVR I2C config naming more standard
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5901 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/AVR/i2c_lld.h')
-rw-r--r--os/hal/platforms/AVR/i2c_lld.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/AVR/i2c_lld.h b/os/hal/platforms/AVR/i2c_lld.h
index 9e49cefbe..3e125d9b8 100644
--- a/os/hal/platforms/AVR/i2c_lld.h
+++ b/os/hal/platforms/AVR/i2c_lld.h
@@ -71,8 +71,8 @@
* @details If set to @p TRUE the support for I2C is included.
* @note The default is @p FALSE.
*/
-#if !defined(USE_AVR_I2C) || defined(__DOXYGEN__)
-#define USE_AVR_I2C FALSE
+#if !defined(AVR_I2C_USE_I2C1) || defined(__DOXYGEN__)
+#define AVR_I2C_USE_I2C1 FALSE
#endif
/** @} */
@@ -195,8 +195,8 @@ typedef struct I2CDriver I2CDriver;
/*===========================================================================*/
#if !defined(__DOXYGEN__)
-#if USE_AVR_I2C
-extern I2CDriver I2CD;
+#if AVR_I2C_USE_I2C1
+extern I2CDriver I2CD1;
#endif
#endif /* !defined(__DOXYGEN__) */