修复了示例

This commit is contained in:
2023-11-26 00:25:08 +08:00
parent d2dcdc1c40
commit 7b33d5a45e
3 changed files with 5 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
#include <stdint.h>
#include <stdio.h>
#include "rgb_effect.h"
void test_hsv_to_rgb()
{
@@ -12,5 +13,5 @@ void test_hsv_to_rgb()
color = HSV_to_RGB(&hue, &sat, &value);
printf("GRB color is: 0x%06X\n", color);
printf("GRB color is: 0x%06lX\n", color);
}