Apply suggestion
This commit is contained in:
parent
41a4813c8b
commit
54b4750c6f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ namespace Pinetime {
|
||||||
|
|
||||||
static constexpr int appsPerScreen = 6;
|
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;
|
ScreenList<nScreens> screens;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue