Skip to content

Commit 02dfaf8

Browse files
Merge branch 'fix/lightbulb_initialization_failed' into 'master'
fix(lightrbulb): Delete some conditional judgments and allow external input mix table See merge request ae_group/esp-iot-solution!1073
2 parents 59ebd6b + abde688 commit 02dfaf8

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

components/led/lightbulb_driver/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# ChangeLog
2+
3+
## v1.3.1 - 2024-08-28
4+
5+
### Bug Fixes:
6+
7+
* Delete some conditional judgments and allow external input mix table
8+
29
## v1.3.0 - 2024-06-05
310

411
### Enhancements:

components/led/lightbulb_driver/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.3.0"
1+
version: "1.3.1"
22
description: Provide multiple dimming driver solutions to easily build lightbulb applications
33
url: https://github.com/espressif/esp-iot-solution/tree/master/components/led/lightbulb_driver
44
dependencies:

components/led/lightbulb_driver/src/lightbulb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,6 @@ esp_err_t lightbulb_init(lightbulb_config_t *config)
779779
// Check cct output mode
780780
if (IS_WHITE_CHANNEL_SELECTED()) {
781781
if (s_lb_obj->cap.enable_precise_cct_control) {
782-
LIGHTBULB_CHECK(config->cct_mix_mode.precise.table_size > 0, "mix table size error", goto EXIT);
783-
784782
s_lb_obj->cct_manager.table_size = config->cct_mix_mode.precise.table_size;
785783
s_lb_obj->cct_manager.kelvin_to_percentage = precise_kelvin_convert_to_percentage;
786784
s_lb_obj->cct_manager.percentage_to_kelvin = precise_percentage_convert_to_kelvin;

0 commit comments

Comments
 (0)