revert priority change

Former-commit-id: 4c91a9710e8ea61acd8284b07868cb2e4bae0bd2
This commit is contained in:
brindosch 2016-05-23 11:01:52 +02:00
parent 46a3edd1ec
commit 84a9125542

View File

@ -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",700).asInt();
const int bootcolor_priority = (priority > 700) ? priority+1 : 700;
const int priority = (duration_ms != 0) ? 0 : effectConfig.get("priority",990).asInt();
const int bootcolor_priority = (priority > 990) ? priority+1 : 990;
// clear the leds
ColorRgb boot_color = ColorRgb::BLACK;