summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-06-10 19:17:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-06-10 19:17:21 +0200
commitaa5089b36453026ad33ce3cc3c11210774a45c84 (patch)
treefd54a9c53ea957d5dd34c746de1c7e09afae73a3 /src
parenta0152f2c253dbf3c2c23d83a261d89e97310b430 (diff)
wip
Diffstat (limited to 'src')
-rw-r--r--src/light-falloff.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/light-falloff.hpp b/src/light-falloff.hpp
index 3d047731..f814cc5f 100644
--- a/src/light-falloff.hpp
+++ b/src/light-falloff.hpp
@@ -7,7 +7,7 @@ enum class light_falloff : uint8_t {
};
constexpr inline light_falloff light_falloff_COUNT{3};
-constexpr inline uint8_t light_falloff_BITS = 2;
-constexpr inline uint8_t light_falloff_MASK = (1 << 2)-1;
+constexpr inline uint8_t light_falloff_BITS = 3;
+constexpr inline uint8_t light_falloff_MASK = (1 << light_falloff_BITS)-1;
} // namespace floormat