Browse Source

Motors: use AP_Notify static flags variable

mission-4.1.18
Randy Mackay 12 years ago committed by Andrew Tridgell
parent
commit
0797489ad8
  1. 2
      libraries/AP_Motors/AP_Motors_Class.cpp

2
libraries/AP_Motors/AP_Motors_Class.cpp

@ -84,7 +84,7 @@ void AP_Motors::Init() @@ -84,7 +84,7 @@ void AP_Motors::Init()
void AP_Motors::armed(bool arm)
{
_armed = arm;
notify.flags.armed = _armed;
AP_Notify::flags.armed = _armed;
};
// set_min_throttle - sets the minimum throttle that will be sent to the engines when they're not off (i.e. to prevents issues with some motors spinning and some not at very low throttle)

Loading…
Cancel
Save