corrected mag task switcher for good this time

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@444 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2013-10-19 09:53:52 +00:00
parent 134a37d811
commit 6b93f06e49
1 changed files with 2 additions and 2 deletions

View File

@ -756,8 +756,8 @@ void loop(void)
}
} else { // not in rc loop
static int taskOrder = 0; // never call all function in the same loop, to avoid high delay spikes
if (taskOrder > 3)
taskOrder -= 4;
if (taskOrder > 4)
taskOrder -= 5;
switch (taskOrder) {
case 0:
taskOrder++;