1
0
Fork 0

Apply suggestion

This commit is contained in:
mark9064 2023-11-27 18:17:24 +00:00 committed by JF
parent 41a4813c8b
commit 54b4750c6f

View file

@ -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;
};