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 0e9bda0 commit 148e6cdCopy full SHA for 148e6cd
src/ConfiguratorAgents/AgentsManager.cpp
@@ -29,6 +29,11 @@ bool AgentsManagerClass::begin(uint8_t id) {
29
pinMode(LED_BUILTIN, OUTPUT);
30
31
for (std::list<ConfiguratorAgent *>::iterator agent = _agentsList.begin(); agent != _agentsList.end(); ++agent) {
32
+ if((*agent)->getAgentType() == ConfiguratorAgent::AgentTypes::BLE) {
33
+ if (!_bleAgentEnabled) {
34
+ continue;
35
+ }
36
37
if ((*agent)->begin() == ConfiguratorAgent::AgentConfiguratorStates::ERROR) {
38
DEBUG_ERROR("AgentsManagerClass::%s agent type %d fails", __FUNCTION__, (int)(*agent)->getAgentType());
39
return false;
0 commit comments