VladVanyuk / EncMenu

Navigation Menu using rotary encoder and LCD2004.
MIT License
0 stars 0 forks source link

When scr == 0 -> scr_num = GetScreensCount() - 1; #7

Open VladVanyuk opened 1 year ago

VladVanyuk commented 1 year ago

if (s == 0) { focuce = 0;

  if (GetScreen() == 0)
  {
    scr_num = GetScreensCount() - 1;
    MakeMenu(UPDATE_LINE, UPDATE_SCREEN);
  }else{
    scr_num--;
  }

}