mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added log statement for failure to start boot sequence.
Corrected name in default configuration file of bootsequence. Former-commit-id: 7a303ca080f11e2bb5d72da039b9b1c1b44ddcdb
This commit is contained in:
parent
734759ffb3
commit
89252d45d0
@ -364,7 +364,8 @@
|
|||||||
"/opt/hyperion/effects"
|
"/opt/hyperion/effects"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Bootsequence" :
|
|
||||||
|
"bootsequence" :
|
||||||
{
|
{
|
||||||
"effect" : "Rainbow swirl fast",
|
"effect" : "Rainbow swirl fast",
|
||||||
"duration_ms" : 3000
|
"duration_ms" : 3000
|
||||||
|
@ -107,7 +107,11 @@ int main(int argc, char** argv)
|
|||||||
// if (retVal == 0)
|
// if (retVal == 0)
|
||||||
if (hyperion.setEffect(effectName, priority, duration_ms) == 0)
|
if (hyperion.setEffect(effectName, priority, duration_ms) == 0)
|
||||||
{
|
{
|
||||||
std::cout << "Boot sequence created and started" << std::endl;
|
std::cout << "Boot sequence(" << effectName << ") created and started" << std::endl;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
std::cout << "Failed to start boot sequence: " << effectName << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user