diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-07-09 20:35:33 +0300 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-10 09:01:59 -0400 |
commit | 9d8279960d8784d5602025f6845b0af92db12848 (patch) | |
tree | a69982fe08b9c2b01cd958aeba645cd649e10c86 /quantum/visualizer/lcd_keyframes.c | |
parent | 4da3b19603255115f71812964383ee7b518637be (diff) | |
download | qmk_firmware-9d8279960d8784d5602025f6845b0af92db12848.tar.gz qmk_firmware-9d8279960d8784d5602025f6845b0af92db12848.zip |
Make it easier to use drivers
Diffstat (limited to 'quantum/visualizer/lcd_keyframes.c')
-rw-r--r-- | quantum/visualizer/lcd_keyframes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/lcd_keyframes.c b/quantum/visualizer/lcd_keyframes.c index 82e4184d2..75eb45700 100644 --- a/quantum/visualizer/lcd_keyframes.c +++ b/quantum/visualizer/lcd_keyframes.c | |||
@@ -166,8 +166,8 @@ bool lcd_keyframe_draw_logo(keyframe_animation_t* animation, visualizer_state_t* | |||
166 | // or state structs, here we use the image | 166 | // or state structs, here we use the image |
167 | 167 | ||
168 | //gdispGBlitArea is a tricky function to use since it supports blitting part of the image | 168 | //gdispGBlitArea is a tricky function to use since it supports blitting part of the image |
169 | // if you have full screen image, then just use 128 and 32 for both source and target dimensions | 169 | // if you have full screen image, then just use LCD_WIDTH and LCD_HEIGHT for both source and target dimensions |
170 | gdispGBlitArea(GDISP, 0, 0, 128, 32, 0, 0, 128, (pixel_t*)resource_lcd_logo); | 170 | gdispGBlitArea(GDISP, 0, 0, LCD_WIDTH, LCD_HEIGHT, 0, 0, LCD_WIDTH, (pixel_t*)resource_lcd_logo); |
171 | 171 | ||
172 | return false; | 172 | return false; |
173 | } | 173 | } |