Fixed it so it only pulls the ip once

This commit is contained in:
2024-06-03 14:21:42 +02:00
parent c084443799
commit 53bc94aba3
4 changed files with 13 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ public:
void websocketSetup(char* ip, uint16_t port, char* adress);
void sendData(float roll, float pitch, float yaw);
int httpPost(const char *serverAddress, const char *serverSubPath, const unsigned short serverPort, const char *data, const size_t dataLength, const char *contentType);
String fetchIPAddress();
const char* fetchIPAddress();
private:
ESP8266WiFiMulti wifi;