mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Call initEscEndPoints after auto changing profiles.
Reset escEndPoints with OSD. Fix include order.
This commit is contained in:
parent
078b25c565
commit
82d1736890
3 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
#include "fc/rc_controls.h"
|
||||
#include "fc/runtime_config.h"
|
||||
|
||||
#include "flight/mixer.h"
|
||||
#include "flight/pid.h"
|
||||
|
||||
#include "pg/pg.h"
|
||||
|
@ -385,6 +386,7 @@ static long cmsx_profileOtherOnExit(const OSD_Entry *self)
|
|||
}
|
||||
#endif
|
||||
|
||||
initEscEndpoints();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue