Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
mark9064 authored and JF002 committed Dec 9, 2023
1 parent 41a4813 commit 54b4750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/displayapp/screens/ApplicationList.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Pinetime {

static constexpr int appsPerScreen = 6;

static constexpr int nScreens = CEIL_DIV(UserAppTypes::Count, appsPerScreen);
static constexpr int nScreens = (UserAppTypes::Count - 1) / appsPerScreen + 1;

ScreenList<nScreens> screens;
};
Expand Down

0 comments on commit 54b4750

Please sign in to comment.