mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
oopsie update
- Forgot to add constructor for WiFiConfig_t struct. Woops.
This commit is contained in:
parent
583a2545f8
commit
b26f7d7a22
@ -44,6 +44,16 @@ public:
|
||||
|
||||
struct WiFiConfig_t
|
||||
{
|
||||
//! Constructor for WiFiConfig_t - allows us to use emplace_back
|
||||
WiFiConfig_t(const std::string &name,
|
||||
const std::string &ssid,
|
||||
const std::string &password,
|
||||
uint8_t channel,
|
||||
bool adhoc) : name(std::move(name)),
|
||||
ssid(std::move(ssid)),
|
||||
password(std::move(password)),
|
||||
channel(channel),
|
||||
adhoc(adhoc) {}
|
||||
std::string name;
|
||||
std::string ssid;
|
||||
std::string password;
|
||||
|
||||
@ -46,10 +46,12 @@ void setup()
|
||||
{
|
||||
case WiFiState_e::WiFiState_Disconnected:
|
||||
{
|
||||
//! TODO: Implement
|
||||
break;
|
||||
}
|
||||
case WiFiState_e::WiFiState_Disconnecting:
|
||||
{
|
||||
//! TODO: Implement
|
||||
break;
|
||||
}
|
||||
case WiFiState_e::WiFiState_ADHOC:
|
||||
@ -68,10 +70,12 @@ void setup()
|
||||
}
|
||||
case WiFiState_e::WiFiState_Connecting:
|
||||
{
|
||||
//! TODO: Implement
|
||||
break;
|
||||
}
|
||||
case WiFiState_e::WiFiState_Error:
|
||||
{
|
||||
//! TODO: Implement
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user