mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
make priority of boot effect adjustable. It is set to 0 to not alter to current behaciour.
A value of 900 could be more feasable, because boot effect with prio 0 isn't overwritable by other effects Former-commit-id: 1852339e6ade62c86719cfbb47faa46eb8f8d4ed
This commit is contained in:
@@ -126,7 +126,7 @@ 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 = 0;
|
||||
const int priority = effectConfig["priority"].asUInt();
|
||||
|
||||
hyperion.setColor(priority+1, ColorRgb::BLACK, duration_ms, false);
|
||||
|
||||
|
Reference in New Issue
Block a user