Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/no wifi related tasks when not enabled #551

Merged
merged 2 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config-sil.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ active_modules:
localization: true
online_check_host: lfenergy.org
setup_simulation: true
setup_wifi: true
setup_wifi: false
connections:
store:
- implementation_id: main
Expand Down
4 changes: 3 additions & 1 deletion modules/Setup/Setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ void Setup::ready() {
this->discover_network();
}
this->publish_hostname();
this->publish_configured_networks();
if (this->config.setup_wifi) {
this->publish_configured_networks();
}
std::this_thread::sleep_for(std::chrono::seconds(5));
}
});
Expand Down
Loading