diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-05 17:24:23 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-05 17:24:23 +0000 |
commit | 6ee04cf23282fff92b088ac6f408e5233eb3aa75 (patch) | |
tree | 4d1e7e5d7611dc0e26f277486adb91c00e036352 /testhal/STM32/I2C/mcuconf.h | |
parent | 4bcff1c283004b10e7a39e855da996621f9eec6d (diff) | |
download | ChibiOS-6ee04cf23282fff92b088ac6f408e5233eb3aa75.tar.gz ChibiOS-6ee04cf23282fff92b088ac6f408e5233eb3aa75.tar.bz2 ChibiOS-6ee04cf23282fff92b088ac6f408e5233eb3aa75.zip |
I2C. Added template of synchronouse deriver. It does not work for a moment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3190 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/I2C/mcuconf.h')
-rw-r--r-- | testhal/STM32/I2C/mcuconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/I2C/mcuconf.h b/testhal/STM32/I2C/mcuconf.h index 105c168f4..809c3abd2 100644 --- a/testhal/STM32/I2C/mcuconf.h +++ b/testhal/STM32/I2C/mcuconf.h @@ -159,10 +159,10 @@ #define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
/* I2C1 */
#define STM32_I2C_I2C1_USE_GPT_TIM GPTD1
-#define STM32_I2C_I2C1_USE_POLLING_WAIT FALSE
+#define STM32_I2C_I2C1_USE_POLLING_WAIT TRUE
/* I2C2 */
#define STM32_I2C_I2C2_USE_GPT_TIM GPTD2
-#define STM32_I2C_I2C2_USE_POLLING_WAIT FALSE
+#define STM32_I2C_I2C2_USE_POLLING_WAIT TRUE
/*
|