Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
parent
d967de0df7
commit
36c410592d
577 changed files with 836 additions and 831 deletions
|
@ -35,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define DRIVER_ADDR_1 0b0110000
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_1_LED_TOTAL 82
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#define RGB_MATRIX_CENTER { 116, 32 }
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 175
|
||||
|
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "portico68v2.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB1 */
|
||||
{0, CS18_SW2, CS17_SW2, CS16_SW2}, /* RGB2 */
|
||||
{0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB3 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue