1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

ugh. only check 1st channel.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@125 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop 2012-03-23 10:29:58 +00:00
parent f39ed713cb
commit 670390e7a6
2 changed files with 72 additions and 71 deletions

View file

@ -105,7 +105,8 @@ static void pwmIRQHandler(TIM_TypeDef *tim)
if (channel.tim == tim && (TIM_GetITStatus(tim, channel.cc) == SET)) {
TIM_ClearITPendingBit(channel.tim, channel.cc);
rcActive = true;
if (i == 0)
rcActive = true;
switch (channel.channel) {
case TIM_Channel_1: