mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
change default effect priority
Former-commit-id: ccdda396083b61c417eaf908b628a2e5a7796ba4
This commit is contained in:
@@ -129,8 +129,8 @@ int main(int argc, char** argv)
|
||||
// Get the parameters for the bootsequence
|
||||
const std::string effectName = effectConfig["effect"].asString();
|
||||
const unsigned duration_ms = effectConfig["duration_ms"].asUInt();
|
||||
const int priority = (duration_ms != 0) ? 0 : effectConfig.get("priority",990).asInt();
|
||||
const int bootcolor_priority = (priority > 990) ? priority+1 : 990;
|
||||
const int priority = (duration_ms != 0) ? 0 : effectConfig.get("priority",700).asInt();
|
||||
const int bootcolor_priority = (priority > 700) ? priority+1 : 700;
|
||||
|
||||
// clear the leds
|
||||
ColorRgb boot_color = ColorRgb::BLACK;
|
||||
|
Reference in New Issue
Block a user