We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87868c4 commit a68be7eCopy full SHA for a68be7e
src/ipa/rpi/controller/controller.cpp
@@ -145,6 +145,12 @@ int Controller::read(char const *filename)
145
146
int Controller::createAlgorithm(const std::string &name, const YamlObject ¶ms)
147
{
148
+ if (name.find("disable") == 0) {
149
+ LOG(RPiController, Debug)
150
+ << "Algorithm \"" << name << "\" is disabled";
151
+ return 0;
152
+ }
153
+
154
auto it = getAlgorithms().find(name);
155
if (it == getAlgorithms().end()) {
156
LOG(RPiController, Warning)
0 commit comments