From 5b3ebb2a58137780a9dae5a746a1115d2f738bb7 Mon Sep 17 00:00:00 2001 From: Vergil_Wong Date: Sun, 26 Nov 2023 15:48:26 +0800 Subject: [PATCH] =?UTF-8?q?module=E4=BD=BF=E7=94=A8=E4=B8=A5=E6=A0=BC?= =?UTF-8?q?=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -调整了DELAY_DECREASE为40,使得演示效果更佳 --- .../src/cycleHSV_vol_level_smooth_example.c | 2 +- lib_rgb/module_build_info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/app_cycleHSV_vol_level_smooth_example/src/cycleHSV_vol_level_smooth_example.c b/examples/app_cycleHSV_vol_level_smooth_example/src/cycleHSV_vol_level_smooth_example.c index fb69137..a0fdbe7 100644 --- a/examples/app_cycleHSV_vol_level_smooth_example/src/cycleHSV_vol_level_smooth_example.c +++ b/examples/app_cycleHSV_vol_level_smooth_example/src/cycleHSV_vol_level_smooth_example.c @@ -3,7 +3,7 @@ #include // 包含基本的输入输出函数 #include "rgb_effect.h" #include "timer.h" -#define DELAY_DECREASE 20 // 降低亮度时的额外延迟 +#define DELAY_DECREASE 40 // 降低亮度时的额外延迟 // 该函数用于平滑过渡HSV颜色和音量级别 void cycleHSV_vol_level_smooth_example() diff --git a/lib_rgb/module_build_info b/lib_rgb/module_build_info index a272bd7..1d97770 100644 --- a/lib_rgb/module_build_info +++ b/lib_rgb/module_build_info @@ -2,7 +2,7 @@ VERSION = 0.0.5 DEPENDENT_MODULES = lib_xcore_math(>=2.1.0) \ -MODULE_XCC_FLAGS = $(XCC_FLAGS) -g -O3 -Wall +MODULE_XCC_FLAGS = $(XCC_FLAGS) -g -O3 -Wall -Wextra -Werror EXPORT_INCLUDE_DIRS = api