mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
LP-552 Moves call to PIOS_BOARD_IO_Configure_OPLink_RCVR from pios_board.c to pios_board_io.c (conditional on OpenLRS protocol not being configured).
This commit is contained in:
parent
d9cce5e0d9
commit
f289f17b83
@ -703,6 +703,11 @@ void PIOS_BOARD_IO_Configure_RFM22B()
|
||||
break;
|
||||
}
|
||||
|
||||
/* Initialize the OPLink Receiver */
|
||||
#ifdef PIOS_INCLUDE_OPLINKRCVR
|
||||
PIOS_BOARD_IO_Configure_OPLink_RCVR();
|
||||
#endif
|
||||
|
||||
/* Reinitialize the modem. */
|
||||
PIOS_RFM22B_Reinit(pios_rfm22b_id);
|
||||
}
|
||||
|
@ -315,10 +315,6 @@ void PIOS_Board_Init(void)
|
||||
PIOS_BOARD_IO_Configure_GCS_RCVR();
|
||||
#endif
|
||||
|
||||
#ifdef PIOS_INCLUDE_OPLINKRCVR
|
||||
PIOS_BOARD_IO_Configure_OPLink_RCVR();
|
||||
#endif
|
||||
|
||||
#ifndef PIOS_ENABLE_DEBUG_PINS
|
||||
// pios_servo_cfg points to the correct configuration based on input port settings
|
||||
PIOS_Servo_Init(pios_servo_cfg);
|
||||
|
@ -274,10 +274,6 @@ void PIOS_Board_Init(void)
|
||||
PIOS_BOARD_IO_Configure_GCS_RCVR();
|
||||
#endif
|
||||
|
||||
#ifdef PIOS_INCLUDE_OPLINKRCVR
|
||||
PIOS_BOARD_IO_Configure_OPLink_RCVR();
|
||||
#endif
|
||||
|
||||
#ifndef PIOS_ENABLE_DEBUG_PINS
|
||||
PIOS_Servo_Init(&pios_servo_cfg_out);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user