We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bc29b5 commit fd6d790Copy full SHA for fd6d790
examples/lighting-app/tizen/src/DBusInterface.cpp
@@ -221,7 +221,7 @@ void DBusInterface::InitColor()
221
auto status = Clusters::ColorControl::Attributes::ColorMode::Get(mEndpointId, &value);
222
VerifyOrReturn(status == Protocols::InteractionModel::Status::Success,
223
ChipLogError(NotSpecified, "Error getting ColorMode: 0x%x", to_underlying(status)));
224
- light_app_color_control_set_color_mode(mIfaceColorControl, value);
+ light_app_color_control_set_color_mode(mIfaceColorControl, static_cast<guchar>(value));
225
}
226
{
227
uint16_t value = 0;
0 commit comments