mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
run uncrustify.
This commit is contained in:
parent
9622a8919d
commit
6844f8351d
@ -133,7 +133,9 @@ static void PIOS_DSM_Bind(struct pios_dsm_dev *dsm_dev, uint8_t bind)
|
|||||||
GPIO_SetBits(cfg->bind.gpio, cfg->bind.init.GPIO_Pin);
|
GPIO_SetBits(cfg->bind.gpio, cfg->bind.init.GPIO_Pin);
|
||||||
|
|
||||||
/* Wait until the bind window opens. */
|
/* Wait until the bind window opens. */
|
||||||
while(PIOS_DELAY_GetuS() < DSM_BIND_MIN_DELAY_US);
|
while (PIOS_DELAY_GetuS() < DSM_BIND_MIN_DELAY_US) {
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < bind; i++) {
|
for (int i = 0; i < bind; i++) {
|
||||||
/* RX line, drive low for 120us */
|
/* RX line, drive low for 120us */
|
||||||
|
@ -359,7 +359,6 @@ static void PIOS_Board_PPM_callback(const int16_t *channels)
|
|||||||
|
|
||||||
void PIOS_Board_Init(void)
|
void PIOS_Board_Init(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
const struct pios_board_info *bdinfo = &pios_board_info_blob;
|
const struct pios_board_info *bdinfo = &pios_board_info_blob;
|
||||||
|
|
||||||
#if defined(PIOS_INCLUDE_LED)
|
#if defined(PIOS_INCLUDE_LED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user