ManualControl should pass pointers to structs to handlers

Description

The first thing that e.g. StabilizedHandler() does is

ManualControlCommandData cmd;
ManualControlCommandGet(&cmd);

FlightModeSettingsData settings;
FlightModeSettingsGet(&settings);

StabilizationDesiredData stabilization;
StabilizationDesiredGet(&stabilization);

StabilizationBankData stabSettings;
StabilizationBankGet(&stabSettings);

FlightStatusData flightStatus;
FlightStatusGet(&flightStatus);

and that is a lot of stack and a lot of CPU. Many of these could be passed in pointers from manualcontol which has already read them. Less stack usage, less CPU usage.

Assignee

Unassigned

Reporter

TheOtherCliff

Components

Fix versions

Priority

Low
Configure