Added message to show selected boot-sequence

Former-commit-id: 4903a6a060a317916b8e65c9c0fd37c7d638c4a4
This commit is contained in:
T. van der Zwan 2013-10-16 20:53:27 +00:00
parent e24420c6d4
commit b0ba91e5c5

View File

@ -20,11 +20,13 @@ BootSequence * BootSequenceFactory::createBootSequence(Hyperion * hyperion, cons
}
else if (type == "rainbow")
{
std::cout << "SELECTED BOOT SEQUENCE: " << "RAINBOW" << std::endl;
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
return new RainbowBootSequence(hyperion, duration_ms);
}
else if (type == "knightrider" || type == "knight rider")
{
std::cout << "SELECTED BOOT SEQUENCE: " << "KITT" << std::endl;
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
return new KittBootSequence(hyperion, duration_ms);
}