Skip to content

Commit

Permalink
Review change
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Feb 2, 2024
1 parent 35457a9 commit f9f8144
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/CrsfProtocol/crsf_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,7 @@ static inline uint8_t ICACHE_RAM_ATTR CRSF_to_SWITCH3b(uint16_t ch)
if (ch < (CRSF_CHANNEL_VALUE_MID-CHANNEL_BIN_SIZE/4)
|| ch > (CRSF_CHANNEL_VALUE_MID+CHANNEL_BIN_SIZE/4))
return CRSF_to_N(ch, CHANNEL_BIN_COUNT);
else
return 7;
return 7;
}

// 3b switches use 0-5 to represent 6 positions switches and "7" to represent middle
Expand Down

0 comments on commit f9f8144

Please sign in to comment.