mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-01 14:54:45 -04:00
Convert static class variables to defines to fix linker error in debug builds
This commit is contained in:
1 parent
7627466891
commit
d258065e36
1 file changed
+3
-3
+3
-3
@@ -795,9 +795,9 @@ private:
|
||||
| This is our own host-side animation, independent |
|
||||
| of any firmware dim/sleep timers. |
|
||||
\*-------------------------------------------------*/
|
||||
static const int DIM_STEPS = 25;
|
||||
static const int DIM_INTERVAL_MS = 200;
|
||||
static const int DIM_TARGET_PCT = 50;
|
||||
#define DIM_STEPS 25
|
||||
#define DIM_INTERVAL_MS 200
|
||||
#define DIM_TARGET_PCT 50
|
||||
std::atomic<int> dim_brightness_pct; // 100=full, 50=dimmed
|
||||
int dim_step;
|
||||
std::chrono::steady_clock::time_point next_dim_time;
|
||||
|
||||
Reference in new issue
Block a user