File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -703,6 +703,11 @@ void PIOS_BOARD_IO_Configure_RFM22B()
703703 break ;
704704 }
705705
706+ /* Initialize the OPLink Receiver */
707+ #ifdef PIOS_INCLUDE_OPLINKRCVR
708+ PIOS_BOARD_IO_Configure_OPLink_RCVR ();
709+ #endif
710+
706711 /* Reinitialize the modem. */
707712 PIOS_RFM22B_Reinit (pios_rfm22b_id );
708713 }
Original file line number Diff line number Diff line change @@ -315,10 +315,6 @@ void PIOS_Board_Init(void)
315315 PIOS_BOARD_IO_Configure_GCS_RCVR ();
316316#endif
317317
318- #ifdef PIOS_INCLUDE_OPLINKRCVR
319- PIOS_BOARD_IO_Configure_OPLink_RCVR ();
320- #endif
321-
322318#ifndef PIOS_ENABLE_DEBUG_PINS
323319 // pios_servo_cfg points to the correct configuration based on input port settings
324320 PIOS_Servo_Init (pios_servo_cfg );
Original file line number Diff line number Diff line change @@ -274,10 +274,6 @@ void PIOS_Board_Init(void)
274274 PIOS_BOARD_IO_Configure_GCS_RCVR ();
275275#endif
276276
277- #ifdef PIOS_INCLUDE_OPLINKRCVR
278- PIOS_BOARD_IO_Configure_OPLink_RCVR ();
279- #endif
280-
281277#ifndef PIOS_ENABLE_DEBUG_PINS
282278 PIOS_Servo_Init (& pios_servo_cfg_out );
283279#else
You can’t perform that action at this time.
0 commit comments