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 /keyboards/miiiw | |
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 'keyboards/miiiw')
-rw-r--r-- | keyboards/miiiw/blackio83/rev_0100/rev_0100.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/keyboards/miiiw/blackio83/rev_0100/rev_0100.c b/keyboards/miiiw/blackio83/rev_0100/rev_0100.c index 18f4c86510..139bc1aaae 100644 --- a/keyboards/miiiw/blackio83/rev_0100/rev_0100.c +++ b/keyboards/miiiw/blackio83/rev_0100/rev_0100.c @@ -165,7 +165,6 @@ uint32_t loop_10Hz(uint32_t trigger_time, void *cb_arg) { wait_ms(50); eeconfig_init(); #ifdef RGB_MATRIX_ENABLE - extern void rgb_matrix_update_pwm_buffers(void); for(int i = 0; i < 5; i++) { rgb_matrix_set_color_all(RGB_WHITE); rgb_matrix_update_pwm_buffers(); |