| 9 | } |
| 10 | |
| 11 | bool State::hasConnectionError() const { |
| 12 | lock.lock(); |
| 13 | auto result = connectionError; |
| 14 | lock.unlock(); |
| 15 | return result; |
| 16 | } |
| 17 | |
| 18 | void State::setApSettings(const service::wifi::settings::WifiApSettings& newSettings) { |
| 19 | lock.lock(); |