mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-06 21:54:15 +01:00
Merged in webbbn/librepilot/LP-552-openlrs-receiver-shows-mixed-opli (pull request #465)
LP-552 Approved-by: Philippe Renon <philippe_renon@yahoo.fr> Approved-by: Lalanne Laurent <f5soh@free.fr> Approved-by: Vladimir Zidar <mr_w@mindnever.org> Approved-by: Brian Webb <webbbn@gmail.com>
This commit is contained in:
commit
2f1e7cd72d
@ -703,6 +703,11 @@ void PIOS_BOARD_IO_Configure_RFM22B()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Initialize the OPLink Receiver */
|
||||||
|
#ifdef PIOS_INCLUDE_OPLINKRCVR
|
||||||
|
PIOS_BOARD_IO_Configure_OPLink_RCVR();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Reinitialize the modem. */
|
/* Reinitialize the modem. */
|
||||||
PIOS_RFM22B_Reinit(pios_rfm22b_id);
|
PIOS_RFM22B_Reinit(pios_rfm22b_id);
|
||||||
}
|
}
|
||||||
|
@ -315,10 +315,6 @@ void PIOS_Board_Init(void)
|
|||||||
PIOS_BOARD_IO_Configure_GCS_RCVR();
|
PIOS_BOARD_IO_Configure_GCS_RCVR();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PIOS_INCLUDE_OPLINKRCVR
|
|
||||||
PIOS_BOARD_IO_Configure_OPLink_RCVR();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PIOS_ENABLE_DEBUG_PINS
|
#ifndef PIOS_ENABLE_DEBUG_PINS
|
||||||
// pios_servo_cfg points to the correct configuration based on input port settings
|
// pios_servo_cfg points to the correct configuration based on input port settings
|
||||||
PIOS_Servo_Init(pios_servo_cfg);
|
PIOS_Servo_Init(pios_servo_cfg);
|
||||||
|
@ -274,10 +274,6 @@ void PIOS_Board_Init(void)
|
|||||||
PIOS_BOARD_IO_Configure_GCS_RCVR();
|
PIOS_BOARD_IO_Configure_GCS_RCVR();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PIOS_INCLUDE_OPLINKRCVR
|
|
||||||
PIOS_BOARD_IO_Configure_OPLink_RCVR();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PIOS_ENABLE_DEBUG_PINS
|
#ifndef PIOS_ENABLE_DEBUG_PINS
|
||||||
PIOS_Servo_Init(&pios_servo_cfg_out);
|
PIOS_Servo_Init(&pios_servo_cfg_out);
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user