aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-31 14:34:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-31 14:34:20 +0000
commit1a13cadaff75b7adebe2614bd3bcd5895c3a08ba (patch)
treeceb8753dc7d8e31693bc3f71b8ffe034b1b1a205 /demos
parent12158e277f53dc988600e31e256aa876332c3097 (diff)
downloadChibiOS-1a13cadaff75b7adebe2614bd3bcd5895c3a08ba.tar.gz
ChibiOS-1a13cadaff75b7adebe2614bd3bcd5895c3a08ba.tar.bz2
ChibiOS-1a13cadaff75b7adebe2614bd3bcd5895c3a08ba.zip
Removed some double spacing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3699 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM4-STM32F407-DISCOVERY/halconf.h2
-rw-r--r--demos/ARMCM4-STM32F407-DISCOVERY/mcuconf.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h b/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h
index 2c109a7ef..ed4206ad8 100644
--- a/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h
+++ b/demos/ARMCM4-STM32F407-DISCOVERY/halconf.h
@@ -73,7 +73,7 @@
* @brief Enables the I2C subsystem.
*/
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
-#define HAL_USE_I2C FALSE
+#define HAL_USE_I2C TRUE
#endif
/**
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY/mcuconf.h b/demos/ARMCM4-STM32F407-DISCOVERY/mcuconf.h
index 3cfe5f2c5..ba8c322fd 100644
--- a/demos/ARMCM4-STM32F407-DISCOVERY/mcuconf.h
+++ b/demos/ARMCM4-STM32F407-DISCOVERY/mcuconf.h
@@ -210,11 +210,10 @@
#define STM32_UART_USART3_DMA_PRIORITY 0
#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()
-
/*
* I2C driver system settings.
*/
-#define STM32_I2C_USE_I2C1 FALSE
+#define STM32_I2C_USE_I2C1 TRUE
#define STM32_I2C_USE_I2C2 FALSE
#define STM32_I2C_USE_I2C3 FALSE
#define STM32_I2C_I2C1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 0)