diff options
author | Eric N. Vander Weele <[email protected]> | 2024-11-08 01:12:59 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-07 23:12:59 -0700 |
commit | 9523ed9e32d89eb518a9c244ce4ebb395763fc85 (patch) | |
tree | cc7a591fec32bffb54e4bcdadc86d0393df30649 /quantum | |
parent | b17322b9b8aad6f91fe36e5c9d697ea34e256cef (diff) | |
download | qmk_firmware-9523ed9e32d89eb518a9c244ce4ebb395763fc85.tar.gz qmk_firmware-9523ed9e32d89eb518a9c244ce4ebb395763fc85.zip |
Expose rgb_matrix_update_pwm_buffers to be available in keymaps (#24573)
* Expose rgb_matrix_update_pwm_buffers to be available in keymaps
Exposing this API enables the examples in the keyboard shutdown/reboot
documentation to compile instead of calling `rgb_matrix_driver.flush`
directly.
* Remove extraneous rgb_matrix_update_pwm_buffers prototype declarations
Now that `rgb_matrix_update_pwm_buffers` is public, there isn't the need
for local prototype declarations.
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/rgb_matrix/rgb_matrix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix.h b/quantum/rgb_matrix/rgb_matrix.h index 842a60c8b7..33f7e06a63 100644 --- a/quantum/rgb_matrix/rgb_matrix.h +++ b/quantum/rgb_matrix/rgb_matrix.h @@ -212,6 +212,7 @@ void rgb_matrix_decrease_speed_noeeprom(void); led_flags_t rgb_matrix_get_flags(void); void rgb_matrix_set_flags(led_flags_t flags); void rgb_matrix_set_flags_noeeprom(led_flags_t flags); +void rgb_matrix_update_pwm_buffers(void); #ifndef RGBLIGHT_ENABLE # define eeconfig_update_rgblight_current eeconfig_update_rgb_matrix |