From 534d6fd05d8502e583f3aa368627f02d8665f003 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Tue, 19 Mar 2024 15:49:31 +0100 Subject: [PATCH] ................... --- .../custom_monochromatic/monochromatic_light_output.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/custom_monochromatic/monochromatic_light_output.h b/components/custom_monochromatic/monochromatic_light_output.h index 2245320..bcbeb21 100644 --- a/components/custom_monochromatic/monochromatic_light_output.h +++ b/components/custom_monochromatic/monochromatic_light_output.h @@ -57,7 +57,7 @@ public: void loop() { uint8_t data = 10; this->read_register(0x0, &data, 0x1); - /* ESP_LOGI(TAG, "READ value: %d", data); */ + ESP_LOGI(TAG, "READ value: %d", data); if (data != 0) { if (data & 1) { this->set_state(Off); @@ -73,12 +73,12 @@ public: if(this->state_ == Auto) { if(data & 8){ // TODO: turn on led - /* ESP_LOGI(TAG, "Auto On"); */ + ESP_LOGI(TAG, "Auto On"); this->upper_->set_level(this->bright_); this->lower_->set_level(this->bright_); } else{ - /* ESP_LOGI(TAG, "Auto Off"); */ + ESP_LOGI(TAG, "Auto Off"); this->upper_->set_level(0.0); this->lower_->set_level(0.0); }