diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-10 19:17:21 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-06-10 19:17:21 +0200 |
commit | aa5089b36453026ad33ce3cc3c11210774a45c84 (patch) | |
tree | fd54a9c53ea957d5dd34c746de1c7e09afae73a3 /src | |
parent | a0152f2c253dbf3c2c23d83a261d89e97310b430 (diff) |
wip
Diffstat (limited to 'src')
-rw-r--r-- | src/light-falloff.hpp | 4 |
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 |