1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-06-14 02:30:41 +00:00

Merge pull request #315 from joyfullservice/master

Resolve null pointer exception
This commit is contained in:
2024-09-28 16:45:28 +02:00
committed by GitHub

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)
{
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)