diff options
| author | XScorpion2 <rcalt2vt@gmail.com> | 2019-05-10 18:55:02 -0500 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-05-10 16:55:02 -0700 |
| commit | 62ba66d61821fec6a5ad3bdccdf738e15e082461 (patch) | |
| tree | 4b0fb100299a7a7e9a51cbbe96da94df8a57483f /tmk_core/protocol/arm_atsam | |
| parent | febaf9dec42ce4d4ade316f811145a291137ee94 (diff) | |
| download | qmk_firmware-62ba66d61821fec6a5ad3bdccdf738e15e082461.tar.gz qmk_firmware-62ba66d61821fec6a5ad3bdccdf738e15e082461.zip | |
Cleanup/rgb matrix (#5811)
* clean up rgb matrix extern usage
Moved rgb matrix boiler plate into macros
Rebased onto typing heatmap pr
* Fixing the reversed frame buffer access in digital rain
* Fixing digital rain & typing heatmap if keyreactive effects are not enabled
* Apply suggestions from code review
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Adding parenthesizes to DRIVER_LED_TOTAL where necessary
* Updated docs
* added notes about parentheses
Diffstat (limited to 'tmk_core/protocol/arm_atsam')
| -rw-r--r-- | tmk_core/protocol/arm_atsam/led_matrix.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tmk_core/protocol/arm_atsam/led_matrix.c b/tmk_core/protocol/arm_atsam/led_matrix.c index ea067a743..42dfccbc5 100644 --- a/tmk_core/protocol/arm_atsam/led_matrix.c +++ b/tmk_core/protocol/arm_atsam/led_matrix.c | |||
| @@ -27,8 +27,6 @@ led_instruction_t led_instructions[] = { { .end = 1 } }; | |||
| 27 | static void led_matrix_massdrop_config_override(int i); | 27 | static void led_matrix_massdrop_config_override(int i); |
| 28 | #endif // USE_MASSDROP_CONFIGURATOR | 28 | #endif // USE_MASSDROP_CONFIGURATOR |
| 29 | 29 | ||
| 30 | extern rgb_config_t rgb_matrix_config; | ||
| 31 | extern rgb_counters_t g_rgb_counters; | ||
| 32 | 30 | ||
| 33 | void SERCOM1_0_Handler( void ) | 31 | void SERCOM1_0_Handler( void ) |
| 34 | { | 32 | { |
| @@ -431,7 +429,6 @@ static void led_run_pattern(led_setup_t *f, float* ro, float* go, float* bo, flo | |||
| 431 | } | 429 | } |
| 432 | } | 430 | } |
| 433 | 431 | ||
| 434 | extern led_config_t g_led_config; | ||
| 435 | static void led_matrix_massdrop_config_override(int i) | 432 | static void led_matrix_massdrop_config_override(int i) |
| 436 | { | 433 | { |
| 437 | float ro = 0; | 434 | float ro = 0; |
