mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
FMU: Power on radio if prsent
This commit is contained in:
committed by
Lorenz Meier
parent
2fad39aaae
commit
d21023c966
@@ -907,6 +907,12 @@ PX4FMU::cycle()
|
||||
update_pwm_rev_mask();
|
||||
|
||||
#ifdef RC_SERIAL_PORT
|
||||
|
||||
#ifdef GPIO_PCON_RADIO
|
||||
// power radio on
|
||||
RF_RADIO_CONTOL(true);
|
||||
#endif
|
||||
|
||||
// dsm_init sets some file static variables and returns a file descriptor
|
||||
_rcs_fd = dsm_init(RC_SERIAL_PORT);
|
||||
// assume SBUS input
|
||||
|
||||
Reference in New Issue
Block a user