From 93258803e2cbc7e8a48ef6c136952fb2c29f8b61 Mon Sep 17 00:00:00 2001 From: afrendy Date: Tue, 17 Dec 2024 09:52:10 +0700 Subject: [PATCH] activate sunrise and calendar --- platforms/LN882H/CMakeLists.txt | 2 +- src/obk_config.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/platforms/LN882H/CMakeLists.txt b/platforms/LN882H/CMakeLists.txt index 3b27e3dc5..f7aa14d5a 100644 --- a/platforms/LN882H/CMakeLists.txt +++ b/platforms/LN882H/CMakeLists.txt @@ -57,7 +57,7 @@ set(PROJ_ALL_SRC app/src/driver/drv_max72xx_internal.c app/src/driver/drv_max72xx_single.c app/src/driver/drv_mcp9808.c -# app/src/driver/drv_ntp_events.c + app/src/driver/drv_ntp_events.c app/src/driver/drv_ntp.c app/src/driver/drv_pt6523.c app/src/driver/drv_pwm_groups.c diff --git a/src/obk_config.h b/src/obk_config.h index b26445123..33e51377b 100644 --- a/src/obk_config.h +++ b/src/obk_config.h @@ -172,6 +172,10 @@ #define ENABLE_TASMOTA_JSON 1 #define ENABLE_DRIVER_DS1820 1 +// add sunset_sunrise_scheduler +#define ENABLE_NTP_SUNRISE_SUNSET 1 +#define ENABLE_CALENDAR_EVENTS 1 + #elif PLATFORM_ESPIDF #define ENABLE_I2C 1