Skip to content

Commit

Permalink
Stage 1.2.2 - more TOGGLE_BIT
Browse files Browse the repository at this point in the history
  • Loading branch information
kisslorand committed Oct 28, 2022
1 parent d878a20 commit d325b93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TFT/src/User/Menu/ScreenSettings.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ void menuScreenSettings(void)
switch (curIndex)
{
case KEY_ICON_0:
infoSettings.rotated_ui = !infoSettings.rotated_ui;
TOGGLE_BIT(infoSettings.rotated_ui, 0);
LCD_RefreshDirection(infoSettings.rotated_ui);
TSC_Calibration();
menuDrawPage(&screenSettingsItems);
Expand Down
2 changes: 1 addition & 1 deletion TFT/src/User/Menu/Terminal.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ static inline void menuKeyboardView(void)
break;

case GKEY_ABC_123:
numpad = !numpad;
TOGGLE_BIT(numpad, 0);
drawKeyboard();
break;

Expand Down

0 comments on commit d325b93

Please sign in to comment.