paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [4721]


From: antoine drouin
Subject: [paparazzi-commits] [4721]
Date: Wed, 24 Mar 2010 10:04:56 +0000

Revision: 4721
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4721
Author:   poine
Date:     2010-03-24 10:04:56 +0000 (Wed, 24 Mar 2010)
Log Message:
-----------


Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/stm32/init_hw.h

Modified: paparazzi3/trunk/sw/airborne/stm32/init_hw.h
===================================================================
--- paparazzi3/trunk/sw/airborne/stm32/init_hw.h        2010-03-24 10:03:12 UTC 
(rev 4720)
+++ paparazzi3/trunk/sw/airborne/stm32/init_hw.h        2010-03-24 10:04:56 UTC 
(rev 4721)
@@ -45,7 +45,7 @@
 #if defined USE_UART1 || defined USE_UART2 || defined USE_UART3
 #include "uart.h"
 #endif
-#if defined USE_I2C0 || defined USE_I2C1
+#if defined USE_I2C1 || defined USE_I2C2
 #include "i2c.h"
 #endif
 #endif /* PERIPHERALS_AUTO_INIT */
@@ -106,12 +106,12 @@
 #ifdef USE_UART3
   uart3_init();
 #endif
-#ifdef USE_I2C0
-  i2c0_init();
-#endif
 #ifdef USE_I2C1
   i2c1_init();
 #endif
+#ifdef USE_I2C2
+  i2c2_init();
+#endif
 #endif /* PERIPHERALS_AUTO_INIT */
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]