File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
rtl8721c/light_example/main Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ static void caps_colorControl_attr_color_send(caps_colorControl_data_t *caps_dat
5757 NULL );
5858
5959 value [1 ].type = IOT_CAP_VAL_TYPE_NUMBER ;
60- value [1 ].number = caps_data -> hue_value ;
60+ value [1 ].number = caps_data -> saturation_value ;
6161
6262 cap_evt [1 ] = st_cap_create_attr (caps_data -> handle ,
6363 (char * ) caps_helper_colorControl .attr_saturation .name ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ static void caps_colorControl_attr_color_send(caps_colorControl_data_t *caps_dat
5757 NULL );
5858
5959 value [1 ].type = IOT_CAP_VAL_TYPE_NUMBER ;
60- value [1 ].number = caps_data -> hue_value ;
60+ value [1 ].number = caps_data -> saturation_value ;
6161
6262 cap_evt [1 ] = st_cap_create_attr (caps_data -> handle ,
6363 (char * ) caps_helper_colorControl .attr_saturation .name ,
You can’t perform that action at this time.
0 commit comments