mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 06:54:49 +08:00
cleanup whitespaces
This commit is contained in:
@@ -167,8 +167,8 @@ void dma1_c4_irq_handler(void)
|
|||||||
Spi2Slave0Unselect();
|
Spi2Slave0Unselect();
|
||||||
|
|
||||||
if (DMA_GetITStatus(DMA1_IT_TC4)) {
|
if (DMA_GetITStatus(DMA1_IT_TC4)) {
|
||||||
// clear int pending bit
|
// clear int pending bit
|
||||||
DMA_ClearITPendingBit(DMA1_IT_GL4);
|
DMA_ClearITPendingBit(DMA1_IT_GL4);
|
||||||
|
|
||||||
// mark as available
|
// mark as available
|
||||||
spi_message_received = TRUE;
|
spi_message_received = TRUE;
|
||||||
@@ -186,6 +186,3 @@ void dma1_c4_irq_handler(void)
|
|||||||
slave0->status = SPITransSuccess;
|
slave0->status = SPITransSuccess;
|
||||||
*(slave0->ready) = 1;
|
*(slave0->ready) = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,3 @@ extern void adxl345_start_reading_data(void);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#endif // SPI_ARCH_H
|
#endif // SPI_ARCH_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user