Skip to content

Commit

Permalink
Fix non-inverted output
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Sep 23, 2021
1 parent caddba3 commit 1ab3c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static void packetChannels()
const int chInput = OUTPUT_MAP[out];
int usOutput;
if (chInput > 0)
crsf.getChannel(chInput);
usOutput = crsf.getChannel(chInput);
else
{
// if chInput is negative, invert the channel output
Expand Down

0 comments on commit 1ab3c77

Please sign in to comment.