1
0
Fork 0
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:
Kenneth Mitchell 2019-04-22 22:04:51 -04:00
parent 078b25c565
commit 82d1736890
No known key found for this signature in database
GPG key ID: E27133AAF586AB21
3 changed files with 4 additions and 0 deletions

View file

@ -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;
}