1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-16 19:10:54 +00:00

Merge pull request #315 from joyfullservice/master

Resolve null pointer exception
This commit is contained in:
Lukas Bachschwell 2024-09-28 16:45:28 +02:00 committed by GitHub
commit 0ceb052a2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -660,7 +660,7 @@ uint16_t ESPUIClass::gauge(const char* label, ControlColor color, int number, in
uint16_t ESPUIClass::separator(const char* label) uint16_t ESPUIClass::separator(const char* label)
{ {
return addControl(ControlType::Separator, label, "", ControlColor::Alizarin, Control::noParent, nullptr); return addControl(ControlType::Separator, label, "", ControlColor::Alizarin);
} }
uint16_t ESPUIClass::fileDisplay(const char* label, ControlColor color, String filename) uint16_t ESPUIClass::fileDisplay(const char* label, ControlColor color, String filename)