fix nullptr
This commit is contained in:
parent
23af3d5aed
commit
5877cad87e
|
@ -81,7 +81,7 @@ void InternalDisplay::handlePwmStateChange(uint8_t pin, bool state, uint16_t val
|
||||||
{
|
{
|
||||||
// If the output card is binded to the display and the current page is the output page
|
// If the output card is binded to the display and the current page is the output page
|
||||||
// then update the respective output component
|
// then update the respective output component
|
||||||
if (this->outputCard != nullptr)
|
if (this->outputCard == nullptr)
|
||||||
return;
|
return;
|
||||||
if(this->currentPage == INTERNAL_DISPLAY_OUTPUT_PAGE) {
|
if(this->currentPage == INTERNAL_DISPLAY_OUTPUT_PAGE) {
|
||||||
// Update the output state
|
// Update the output state
|
||||||
|
|
Loading…
Reference in New Issue