Skip to content

Commit

Permalink
Fix default encoder direction
Browse files Browse the repository at this point in the history
  • Loading branch information
3djc committed Mar 13, 2022
1 parent 9013869 commit 3c1ee3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio/src/targets/common/arm/stm32/rotary_encoder_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ void rotaryEncoderInit()
#define INC_ROT 1
#define INC_ROT_2 2
#else
#define INC_ROT (g_eeGeneral.rotEncDirection ? 1 : -1);
#define INC_ROT_2 (g_eeGeneral.rotEncDirection ? 2 : -2);
#define INC_ROT (g_eeGeneral.rotEncDirection ? -1 : 1);
#define INC_ROT_2 (g_eeGeneral.rotEncDirection ? -2 : 2);
#endif

void rotaryEncoderCheck()
Expand Down

0 comments on commit 3c1ee3c

Please sign in to comment.