Skip to content

Commit

Permalink
fix: ssid changed from const chat to char
Browse files Browse the repository at this point in the history
  • Loading branch information
Bissas committed Oct 21, 2023
1 parent 3c027f8 commit dedc3ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/deploii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Deploii::Deploii(const char *mcuID) {
_mcuID = mcuID;
}

void Deploii::connect_wifi(const char *ssid, const char *password) {
void Deploii::connect_wifi(char *ssid, const char *password) {

Serial.begin(9600);
WiFi.begin(ssid, password);
Expand Down
2 changes: 1 addition & 1 deletion src/deploii.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Deploii {
public:
Deploii(const char *mcuID);
void loop();
void connect_wifi(const char *ssid, const char *password);
void connect_wifi(char *ssid, const char *password);
};

#endif

0 comments on commit dedc3ef

Please sign in to comment.