Fix some issues with mode constructor
This commit is contained in:
parent
811139107e
commit
cbee33706f
1 changed files with 13 additions and 7 deletions
|
|
@ -5,13 +5,19 @@ using namespace std::chrono_literals;
|
||||||
|
|
||||||
mode::mode()
|
mode::mode()
|
||||||
{
|
{
|
||||||
name = "";
|
name = "";
|
||||||
value = 0;
|
value = 0;
|
||||||
flags = 0;
|
flags = 0;
|
||||||
speed_min = 0;
|
speed_min = 0;
|
||||||
speed_max = 0;
|
speed_max = 0;
|
||||||
colors_min = 1;
|
brightness_min = 0;
|
||||||
colors_max = 1;
|
brightness_max = 0;
|
||||||
|
colors_min = 0;
|
||||||
|
colors_max = 0;
|
||||||
|
speed = 0;
|
||||||
|
brightness = 0;
|
||||||
|
direction = 0;
|
||||||
|
color_mode = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
mode::~mode()
|
mode::~mode()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue