mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 18:53:34 +08:00
Fix duplicate newlines at the end of files
This commit is contained in:
@@ -32,6 +32,4 @@
|
||||
############################################################################
|
||||
|
||||
add_subdirectory(common)
|
||||
|
||||
add_subdirectory(${PX4_CHIP_MANUFACTURER})
|
||||
|
||||
|
||||
@@ -34,4 +34,3 @@ px4_add_library(platform_gpio_mcp23009
|
||||
mcp23009.cpp
|
||||
)
|
||||
target_link_libraries(platform_gpio_mcp23009 PRIVATE drivers__device) # device::I2C
|
||||
|
||||
|
||||
@@ -37,4 +37,3 @@
|
||||
#else
|
||||
# define SYSTEM_ADC_COUNT 2
|
||||
#endif
|
||||
|
||||
|
||||
@@ -54,4 +54,3 @@ __BEGIN_DECLS
|
||||
#include <arch/board/board.h>
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
@@ -114,4 +114,3 @@ int board_get_px4_guid_formated(char *format_buffer, int size)
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,6 +31,4 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
|
||||
add_subdirectory(${PX4_CHIP})
|
||||
|
||||
|
||||
@@ -40,6 +40,3 @@ add_subdirectory(../kinetis/hrt hrt)
|
||||
add_subdirectory(../kinetis/io_pins io_pins)
|
||||
add_subdirectory(../kinetis/tone_alarm tone_alarm)
|
||||
add_subdirectory(../kinetis/version version)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../kinetis/include/px4_arch/adc.h"
|
||||
|
||||
|
||||
@@ -32,6 +32,4 @@
|
||||
****************************************************************************/
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "../../../kinetis/include/px4_arch/io_timer.h"
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@ px4_add_library(arch_hrt
|
||||
hrt.c
|
||||
)
|
||||
target_compile_options(arch_hrt PRIVATE -Wno-cast-align) # TODO: fix and enable
|
||||
|
||||
|
||||
@@ -37,5 +37,3 @@
|
||||
#define SYSTEM_ADC_BASE 0 // not used on kinetis
|
||||
|
||||
#include <px4_platform/adc.h>
|
||||
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../rpi_common/include/px4_arch/adc.h"
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../rpi_common/include/px4_arch/i2c_hw_description.h"
|
||||
|
||||
|
||||
@@ -37,4 +37,3 @@
|
||||
#define SYSTEM_ADC_BASE RP2040_ADC_BASE
|
||||
|
||||
#include <px4_platform/adc.h>
|
||||
|
||||
|
||||
@@ -31,6 +31,4 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
|
||||
add_subdirectory(${PX4_CHIP})
|
||||
|
||||
|
||||
@@ -54,4 +54,3 @@
|
||||
#endif
|
||||
|
||||
#include <px4_platform/adc.h>
|
||||
|
||||
|
||||
@@ -166,4 +166,3 @@ private:
|
||||
*/
|
||||
static uint8_t _io_buffer_storage[] px4_cache_aligned_data();
|
||||
};
|
||||
|
||||
|
||||
@@ -34,4 +34,3 @@
|
||||
|
||||
#define px4_stm32_dmasetup stm32_dmasetup
|
||||
#include "../../../stm32_common/include/px4_arch/dshot.h"
|
||||
|
||||
|
||||
@@ -32,6 +32,4 @@
|
||||
****************************************************************************/
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/io_timer.h"
|
||||
|
||||
|
||||
@@ -36,5 +36,3 @@ add_subdirectory(board_critmon)
|
||||
add_subdirectory(../stm32_common/board_reset board_reset)
|
||||
add_subdirectory(../stm32_common/version version)
|
||||
add_subdirectory(../stm32_common/hrt hrt)
|
||||
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/adc.h"
|
||||
|
||||
|
||||
@@ -32,6 +32,4 @@
|
||||
****************************************************************************/
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/io_timer.h"
|
||||
|
||||
|
||||
@@ -52,4 +52,3 @@ __BEGIN_DECLS
|
||||
#define PX4_ADC_INTERNAL_TEMP_SENSOR_CHANNEL 16
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
@@ -47,4 +47,3 @@ add_subdirectory(../stm32_common/version version)
|
||||
|
||||
add_subdirectory(px4io_serial)
|
||||
add_subdirectory(watchdog)
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/adc.h"
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@
|
||||
|
||||
#define px4_stm32_dmasetup stm32_dmasetup
|
||||
#include "../../../stm32_common/include/px4_arch/dshot.h"
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/i2c_hw_description.h"
|
||||
|
||||
|
||||
@@ -51,4 +51,3 @@ __BEGIN_DECLS
|
||||
#define PX4_NUMBER_I2C_BUSES STM32_NI2C
|
||||
#define PX4_ADC_INTERNAL_TEMP_SENSOR_CHANNEL 18
|
||||
__END_DECLS
|
||||
|
||||
|
||||
@@ -34,4 +34,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/px4io_serial.h"
|
||||
|
||||
|
||||
@@ -473,4 +473,3 @@ ArchPX4IOSerial::_abort_dma()
|
||||
stm32_dmastop(_tx_dma);
|
||||
stm32_dmastop(_rx_dma);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/adc.h"
|
||||
|
||||
|
||||
@@ -35,4 +35,3 @@
|
||||
|
||||
#define px4_stm32_dmasetup stm32_dmasetup
|
||||
#include "../../../stm32_common/include/px4_arch/dshot.h"
|
||||
|
||||
|
||||
@@ -32,6 +32,4 @@
|
||||
****************************************************************************/
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/io_timer.h"
|
||||
|
||||
|
||||
@@ -61,4 +61,3 @@ int stm32_flash_unlock(void);
|
||||
int stm32_flash_writeprotect(size_t page, bool enabled);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
@@ -34,4 +34,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../../stm32_common/include/px4_arch/px4io_serial.h"
|
||||
|
||||
|
||||
@@ -506,4 +506,3 @@ ArchPX4IOSerial::_abort_dma()
|
||||
|
||||
rICR = rISR & rISR_ERR_FLAGS_MASK; /* clear the flags */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user