mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Deleted obsolete (out-commented) code
Former-commit-id: a37da8b0cb38a988b467bd63b671e6b098136f72
This commit is contained in:
parent
81a1044e46
commit
1e2d7188b1
@ -102,9 +102,6 @@ int main(int argc, char** argv)
|
|||||||
const unsigned duration_ms = effectConfig["duration_ms"].asUInt();
|
const unsigned duration_ms = effectConfig["duration_ms"].asUInt();
|
||||||
const int priority = 0;
|
const int priority = 0;
|
||||||
|
|
||||||
// int retVal = -1;
|
|
||||||
// QMetaObject::invokeMethod(hyperion, "setEffect", Q_RETURN_ARG(int, retVal), Q_ARG(std::string, effectName), Q_ARG(Json::Value, Json::Value()), Q_ARG(int, priority), Q_ARG(int, duration_ms));
|
|
||||||
// if (retVal == 0)
|
|
||||||
if (hyperion.setEffect(effectName, priority, duration_ms) == 0)
|
if (hyperion.setEffect(effectName, priority, duration_ms) == 0)
|
||||||
{
|
{
|
||||||
std::cout << "Boot sequence(" << effectName << ") created and started" << std::endl;
|
std::cout << "Boot sequence(" << effectName << ") created and started" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user