mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: toymode: correct static-vs-singleton compilation error
This commit is contained in:
parent
eba8dee371
commit
62d0bc986a
@ -715,7 +715,7 @@ void ToyMode::trim_update(void)
|
||||
}
|
||||
|
||||
uint16_t chan[4];
|
||||
if (RC_Channels::get_radio_in(chan, 4) != 4) {
|
||||
if (rc().get_radio_in(chan, 4) != 4) {
|
||||
trim.start_ms = 0;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user