Skip to content

Commit

Permalink
fix another tizen build error
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Nov 16, 2023
1 parent 31cad92 commit 2ca2a7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/lighting-app/tizen/src/DBusInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ void DBusInterface::SetCurrentLevel(uint8_t value)
void DBusInterface::SetColorMode(chip::app::Clusters::ColorControl::ColorMode colorMode)
{
InternalSetGuard guard(this);
if (light_app_color_control_get_color_mode(mIfaceColorControl) != colorMode)
light_app_color_control_set_color_mode(mIfaceColorControl, colorMode);
if (light_app_color_control_get_color_mode(mIfaceColorControl) != chip::to_underlying(colorMode))
light_app_color_control_set_color_mode(mIfaceColorControl, chip::to_underlying(colorMode));
}

void DBusInterface::SetColorTemperature(uint16_t value)
Expand Down

0 comments on commit 2ca2a7d

Please sign in to comment.