1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

Sanity Check: Fix comment

This commit is contained in:
James Cotton 2012-10-25 23:01:35 -05:00
parent 93349e9a56
commit 07a08c327c

View File

@ -155,7 +155,7 @@ int32_t configuration_check()
*/
static int32_t check_stabilization_settings(int index, bool multirotor)
{
// Make sure the modes are all similar
// Make sure the modes have identical sizes
if (MANUALCONTROLSETTINGS_STABILIZATION1SETTINGS_NUMELEM != MANUALCONTROLSETTINGS_STABILIZATION2SETTINGS_NUMELEM ||
MANUALCONTROLSETTINGS_STABILIZATION1SETTINGS_NUMELEM != MANUALCONTROLSETTINGS_STABILIZATION3SETTINGS_NUMELEM)
return SYSTEMALARMS_ALARM_ERROR;