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:
parent
f39ed713cb
commit
670390e7a6
2 changed files with 72 additions and 71 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue