Using __FlashStringHelper for customHTML (#1292)

* Add callback for OTA update

* Using __FlashStringHelper for customHTML
This commit is contained in:
Mollayo
2021-09-08 10:52:21 -05:00
committed by GitHub
parent 8ce698427d
commit 70776a0a05
+2 -1
View File
@@ -128,7 +128,7 @@ class WiFiManagerParameter {
const char *getPlaceholder() const; // @deprecated, use getLabel
int getValueLength() const;
int getLabelPlacement() const;
const char *getCustomHTML() const;
virtual const char *getCustomHTML() const;
void setValue(const char *defaultValue, int length);
protected:
@@ -141,6 +141,7 @@ class WiFiManagerParameter {
char *_value;
int _length;
int _labelPlacement;
protected:
const char *_customHTML;
friend class WiFiManager;
};