mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-12 02:54:15 +01:00
uncrustify
This commit is contained in:
parent
1e4c9d4009
commit
df796c8a19
@ -545,6 +545,7 @@ void PIOS_BOARD_IO_Configure_GCS_RCVR()
|
|||||||
void PIOS_BOARD_IO_Configure_OPLink_RCVR()
|
void PIOS_BOARD_IO_Configure_OPLink_RCVR()
|
||||||
{
|
{
|
||||||
uint32_t pios_oplinkrcvr_id;
|
uint32_t pios_oplinkrcvr_id;
|
||||||
|
|
||||||
OPLinkReceiverInitialize();
|
OPLinkReceiverInitialize();
|
||||||
#if defined(PIOS_INCLUDE_RFM22B)
|
#if defined(PIOS_INCLUDE_RFM22B)
|
||||||
PIOS_OPLinkRCVR_Init(&pios_oplinkrcvr_id, pios_rfm22b_id);
|
PIOS_OPLinkRCVR_Init(&pios_oplinkrcvr_id, pios_rfm22b_id);
|
||||||
|
@ -516,7 +516,8 @@ bool PIOS_MS56xx_driver_poll(__attribute__((unused)) uintptr_t context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Poll the pressure sensor and return the temperature and pressure. */
|
/* Poll the pressure sensor and return the temperature and pressure. */
|
||||||
bool PIOS_MS56xx_Read(float *temperature, float *pressure) {
|
bool PIOS_MS56xx_Read(float *temperature, float *pressure)
|
||||||
|
{
|
||||||
if (PIOS_MS56xx_driver_poll(0)) {
|
if (PIOS_MS56xx_driver_poll(0)) {
|
||||||
*temperature = results.temperature;
|
*temperature = results.temperature;
|
||||||
*pressure = results.sample;
|
*pressure = results.sample;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @addtogroup OpenPilotSystem OpenPilot System
|
* @addtogroup OpenPilotSystem OpenPilot System
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @addtogroup OpenPilotSystem OpenPilot System
|
* @addtogroup OpenPilotSystem OpenPilot System
|
||||||
|
Loading…
x
Reference in New Issue
Block a user