Apply suggestion
This commit is contained in:
1 parent
41a4813c8b
commit
54b4750c6f
1 file changed
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user