summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorRyan Caltabiano <rcalt2vt@gmail.com>2019-05-19 23:12:29 -0500
committerDrashna Jaelre <drashna@live.com>2019-07-12 07:39:35 -0700
commitcf215487ba35c6754cd1c52bb900a46bb52ed3a3 (patch)
tree1eb5341becef835bb2ca34a7a3066fe8e26d803c /users
parente717dcaa09143615ae0b46bf625621f67a7b55ce (diff)
Switching rgb_config_t to use HSV struct
Diffstat (limited to 'users')
-rw-r--r--users/xulkal/custom_oled.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/xulkal/custom_oled.c b/users/xulkal/custom_oled.c
index d871e96f06..7280ef7019 100644
--- a/users/xulkal/custom_oled.c
+++ b/users/xulkal/custom_oled.c
@@ -80,7 +80,7 @@ static void render_status(void)
oled_set_cursor(0, oled_max_lines() - 7);
oled_write_P(PSTR("-----"), false);
static char buffer[26] = {0};
- snprintf(buffer, sizeof(buffer), "h%3d s%3d v%3d s%3d m%3d\n", rgb_matrix_config.hue, rgb_matrix_config.sat, rgb_matrix_config.val, rgb_matrix_config.speed, rgb_matrix_config.mode);
+ snprintf(buffer, sizeof(buffer), "h%3d s%3d v%3d s%3d m%3d\n", rgb_matrix_config.hsv.h, rgb_matrix_config.hsv.s, rgb_matrix_config.hsv.v, rgb_matrix_config.speed, rgb_matrix_config.mode);
oled_write(buffer, false);
#elif defined(RGBLIGHT_ENABLE)
oled_set_cursor(0, oled_max_lines() - 7);
@@ -137,7 +137,7 @@ static void render_status(void)
#if defined(RGB_MATRIX_ENABLE)
static char buffer[20] = {0};
- snprintf(buffer, sizeof(buffer), " h%3d s%3d v%3d\n", rgb_matrix_config.hue, rgb_matrix_config.sat, rgb_matrix_config.val);
+ snprintf(buffer, sizeof(buffer), " h%3d s%3d v%3d\n", rgb_matrix_config.hsv.h, rgb_matrix_config.hsv.s, rgb_matrix_config.hsv.v);
oled_write(buffer, false);
#elif defined(RGBLIGHT_ENABLE)
static char buffer[20] = {0};