mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
Using __FlashStringHelper for customHTML (#1292)
* Add callback for OTA update * Using __FlashStringHelper for customHTML
This commit is contained in:
+2
-1
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user