1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

LP-429 manualcontrol: make sure that flight mode changes trigger a configuration check

This commit is contained in:
Philippe Renon 2016-10-09 19:29:28 +02:00
parent 84aba098ac
commit c289dd3a1a

View File

@ -135,6 +135,7 @@ int32_t ManualControlStart()
// Whenever the configuration changes, make sure it is safe to fly
SystemSettingsConnectCallback(configurationUpdatedCb);
ManualControlSettingsConnectCallback(configurationUpdatedCb);
FlightModeSettingsConnectCallback(configurationUpdatedCb);
ManualControlCommandConnectCallback(commandUpdatedCb);
// clear alarms