paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [5161] attempt to tame the STM32 I2C


From: antoine drouin
Subject: [paparazzi-commits] [5161] attempt to tame the STM32 I2C
Date: Mon, 26 Jul 2010 21:15:45 +0000

Revision: 5161
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5161
Author:   poine
Date:     2010-07-26 21:15:44 +0000 (Mon, 26 Jul 2010)
Log Message:
-----------
attempt to tame the STM32 I2C

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

Modified: paparazzi3/trunk/sw/airborne/stm32/i2c_hw.h
===================================================================
--- paparazzi3/trunk/sw/airborne/stm32/i2c_hw.h 2010-07-26 21:13:22 UTC (rev 
5160)
+++ paparazzi3/trunk/sw/airborne/stm32/i2c_hw.h 2010-07-26 21:15:44 UTC (rev 
5161)
@@ -78,7 +78,7 @@
 extern void i2c2_ev_irq_handler(void);
 extern void i2c2_er_irq_handler(void);
 
-#define I2c2SendStart() { I2C_GenerateSTART(I2C2, ENABLE); I2C_ITConfig(I2C2, 
I2C_IT_EVT, ENABLE);}
+#define I2c2SendStart() {I2C_GenerateSTART(I2C2, ENABLE); I2C_ITConfig(I2C2, 
I2C_IT_EVT|I2C_IT_BUF, ENABLE);}
 
 #endif /* USE_I2C2 */
 




reply via email to

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