Deleted obsolete (out-commented) code

Former-commit-id: a37da8b0cb38a988b467bd63b671e6b098136f72
This commit is contained in:
T. van der Zwan 2014-01-09 11:07:32 +00:00
parent 81a1044e46
commit 1e2d7188b1

View File

@ -102,9 +102,6 @@ int main(int argc, char** argv)
const unsigned duration_ms = effectConfig["duration_ms"].asUInt();
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)
{
std::cout << "Boot sequence(" << effectName << ") created and started" << std::endl;