mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-21 15:33:44 +02:00
Fix compilation issues, change ProjectConfig into a shared_ptr with updated definitions
// todo implement the API and missing features
This commit is contained in:
@@ -30,7 +30,7 @@ class WiFiManager
|
||||
{
|
||||
private:
|
||||
uint8_t channel;
|
||||
ProjectConfig &deviceConfig;
|
||||
std::shared_ptr<ProjectConfig> deviceConfig;
|
||||
wifi_init_config_t _wifi_init_cfg = WIFI_INIT_CONFIG_DEFAULT();
|
||||
wifi_config_t _wifi_cfg = {};
|
||||
|
||||
@@ -45,7 +45,7 @@ private:
|
||||
void SetupAccessPoint();
|
||||
|
||||
public:
|
||||
WiFiManager(ProjectConfig &deviceConfig);
|
||||
WiFiManager(std::shared_ptr<ProjectConfig> deviceConfig);
|
||||
void Begin();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user