module使用严格检查

-调整了DELAY_DECREASE为40,使得演示效果更佳
This commit is contained in:
2023-11-26 15:48:26 +08:00
parent d8247c8b33
commit 5b3ebb2a58
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
#include <stdio.h> // 包含基本的输入输出函数 #include <stdio.h> // 包含基本的输入输出函数
#include "rgb_effect.h" #include "rgb_effect.h"
#include "timer.h" #include "timer.h"
#define DELAY_DECREASE 20 // 降低亮度时的额外延迟 #define DELAY_DECREASE 40 // 降低亮度时的额外延迟
// 该函数用于平滑过渡HSV颜色和音量级别 // 该函数用于平滑过渡HSV颜色和音量级别
void cycleHSV_vol_level_smooth_example() void cycleHSV_vol_level_smooth_example()

View File

@@ -2,7 +2,7 @@ VERSION = 0.0.5
DEPENDENT_MODULES = lib_xcore_math(>=2.1.0) \ 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 EXPORT_INCLUDE_DIRS = api