mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Removed empty argument constructor from setEffect call for bootsequence
Former-commit-id: cc46278cb2b9db725ae367f49464d361ce06e670
This commit is contained in:
parent
bd9f0c2149
commit
b124ba25d8
@ -105,7 +105,7 @@ int main(int argc, char** argv)
|
|||||||
// int retVal = -1;
|
// 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));
|
// 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 (retVal == 0)
|
||||||
if (hyperion.setEffect(effectName, Json::Value(), 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 created and started" << std::endl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user