Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit a37da8b

Browse files
committed
Deleted obsolete (out-commented) code
1 parent e0ee08b commit a37da8b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/hyperiond/hyperiond.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ int main(int argc, char** argv)
102102
const unsigned duration_ms = effectConfig["duration_ms"].asUInt();
103103
const int priority = 0;
104104

105-
// int retVal = -1;
106-
// 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));
107-
// if (retVal == 0)
108105
if (hyperion.setEffect(effectName, priority, duration_ms) == 0)
109106
{
110107
std::cout << "Boot sequence(" << effectName << ") created and started" << std::endl;

0 commit comments

Comments
 (0)