[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4310] more indentation
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [4310] more indentation |
Date: |
Thu, 05 Nov 2009 13:47:15 +0000 |
Revision: 4310
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4310
Author: poine
Date: 2009-11-05 13:47:15 +0000 (Thu, 05 Nov 2009)
Log Message:
-----------
more indentation
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/i2c.h
Modified: paparazzi3/trunk/sw/airborne/i2c.h
===================================================================
--- paparazzi3/trunk/sw/airborne/i2c.h 2009-11-05 13:46:49 UTC (rev 4309)
+++ paparazzi3/trunk/sw/airborne/i2c.h 2009-11-05 13:47:15 UTC (rev 4310)
@@ -139,7 +139,7 @@
if (i2c1_index < i2c1_len_r) { \
i2c1_buf[i2c1_index] = I2C1_DATA_REG; \
i2c1_index++; \
- I2c1Receive(i2c1_index < i2c1_len_r - 1);
\
+ I2c1Receive(i2c1_index < i2c1_len_r - 1); \
}
\
else { \
/* error , we should have got NACK */ \
@@ -160,14 +160,14 @@
I2c1SendByte(i2c1_buf[i2c1_index]); \
i2c1_index++; \
} else { \
- if (i2c1_trx) { \
- i2c1_trx = 0; \
- i2c1_index = 0; \
- i2c1_slave_addr |= 1; \
- I2c1SendStart(); \
- } else { \
- I2c1SendStop(); \
- } \
+ if (i2c1_trx) {
\
+ i2c1_trx = 0;
\
+ i2c1_index = 0; \
+ i2c1_slave_addr |= 1;
\
+ I2c1SendStart(); \
+ } else { \
+ I2c1SendStop(); \
+ } \
}
\
break; \
case I2C_MR_DATA_NACK: \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4310] more indentation,
antoine drouin <=