mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
Actuator: Fix bug I made a while ago that stops servos going negative values
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2677 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
877bcca880
commit
77ce0d6391
@ -215,7 +215,7 @@ static void actuatorTask(void* parameters)
|
||||
|
||||
command.Channel[ct] = scaleChannel(status[ct],
|
||||
settings.ChannelMax[ct],
|
||||
settings.ChannelNeutral[ct],
|
||||
settings.ChannelMin[ct],
|
||||
settings.ChannelNeutral[ct]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user