mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added message to show selected boot-sequence
Former-commit-id: 4903a6a060a317916b8e65c9c0fd37c7d638c4a4
This commit is contained in:
parent
e24420c6d4
commit
b0ba91e5c5
@ -20,11 +20,13 @@ BootSequence * BootSequenceFactory::createBootSequence(Hyperion * hyperion, cons
|
|||||||
}
|
}
|
||||||
else if (type == "rainbow")
|
else if (type == "rainbow")
|
||||||
{
|
{
|
||||||
|
std::cout << "SELECTED BOOT SEQUENCE: " << "RAINBOW" << std::endl;
|
||||||
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
|
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
|
||||||
return new RainbowBootSequence(hyperion, duration_ms);
|
return new RainbowBootSequence(hyperion, duration_ms);
|
||||||
}
|
}
|
||||||
else if (type == "knightrider" || type == "knight rider")
|
else if (type == "knightrider" || type == "knight rider")
|
||||||
{
|
{
|
||||||
|
std::cout << "SELECTED BOOT SEQUENCE: " << "KITT" << std::endl;
|
||||||
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
|
const unsigned duration_ms = jsonConfig["duration_ms"].asUInt();
|
||||||
return new KittBootSequence(hyperion, duration_ms);
|
return new KittBootSequence(hyperion, duration_ms);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user