Wifi app improvements (#107)

This commit is contained in:
Ken Van Hoeylandt
2024-12-05 23:14:27 +01:00
committed by GitHub
parent 50ee77d572
commit 422bc01fdb
11 changed files with 104 additions and 60 deletions
@@ -10,15 +10,15 @@
namespace tt::app::wificonnect {
class WifiConnect {
PubSubSubscription* wifiSubscription;
Mutex mutex;
State state;
View view;
bool view_enabled = false;
Bindings bindings = {
.onConnectSsid = nullptr,
.onConnectSsidContext = nullptr
};
View view = View(&bindings, &state);
PubSubSubscription* wifiSubscription;
bool view_enabled = false;
public: