mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-11 07:01:38 +02:00
improved mqtt
removed wrong "inverter type can't be detected!" messages repaired NTP and static IP #459 MQTT status about availability and produce are retain messages now
This commit is contained in:
parent
f4c3aea964
commit
0a5833e6ec
11 changed files with 96 additions and 87 deletions
|
@ -64,15 +64,6 @@ class web {
|
|||
void onSerial(AsyncWebServerRequest *request);
|
||||
void onSystem(AsyncWebServerRequest *request);
|
||||
|
||||
void ip2Arr(uint8_t ip[], char *ipStr) {
|
||||
char *p = strtok(ipStr, ".");
|
||||
uint8_t i = 0;
|
||||
while(NULL != p) {
|
||||
ip[i++] = atoi(p);
|
||||
p = strtok(NULL, ".");
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ENABLE_JSON_EP
|
||||
void showJson(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue