This commit is contained in:
Drashna Jaelre 2024-10-15 12:23:52 -07:00 committed by GitHub
parent b88b761f67
commit 08f3a1c34a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ bool STARLIGHT_SMOOTH(effect_params_t* params) {
RGB_MATRIX_TEST_LED_FLAGS();
uint16_t time = scale16by8((g_rgb_timer / 2) + time_offsets[i], rgb_matrix_config.speed / 16);
HSV hsv = rgb_matrix_config.hsv;
HSV hsv = rgb_matrix_config.hsv;
hsv.v = scale8(abs8(sin8(time) - 128) * 2, hsv.v);
RGB rgb = rgb_matrix_hsv_to_rgb(hsv);