Make it easier to use drivers
This commit is contained in:
parent
4da3b19603
commit
9d8279960d
15 changed files with 58 additions and 45 deletions
|
@ -41,8 +41,8 @@ static void keyframe_fade_all_leds_from_to(keyframe_animation_t* animation, uint
|
|||
}
|
||||
|
||||
// TODO: Should be customizable per keyboard
|
||||
#define NUM_ROWS LED_NUM_ROWS
|
||||
#define NUM_COLS LED_NUM_COLS
|
||||
#define NUM_ROWS LED_HEIGHT
|
||||
#define NUM_COLS LED_WIDTH
|
||||
|
||||
static uint8_t crossfade_start_frame[NUM_ROWS][NUM_COLS];
|
||||
static uint8_t crossfade_end_frame[NUM_ROWS][NUM_COLS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue