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:
commit
0ceb052a2e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user