summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc77x/logikdax
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc77x/logikdax')
-rw-r--r--firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c b/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c
index 973d4cb333..4101f6ab7d 100644
--- a/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c
+++ b/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c
@@ -190,8 +190,8 @@ void lcd_init_device(void)
190 190
191/* Performance function that works with an external buffer 191/* Performance function that works with an external buffer
192 note that by and bheight are in 8-pixel units! */ 192 note that by and bheight are in 8-pixel units! */
193void lcd_blit(const unsigned char* data, int x, int by, int width, 193void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
194 int bheight, int stride) 194 int bheight, int stride)
195{ 195{
196 /* Copy display bitmap to hardware */ 196 /* Copy display bitmap to hardware */
197 while (bheight--) 197 while (bheight--)
@@ -206,6 +206,20 @@ void lcd_blit(const unsigned char* data, int x, int by, int width,
206} 206}
207 207
208 208
209/* Performance function that works with an external buffer
210 note that by and bheight are in 8-pixel units! */
211void lcd_blit_grey_phase_blit(unsigned char *values, unsigned char *phases,
212 int x, int by, int width, int bheight, int stride)
213{
214 (void)values;
215 (void)phases;
216 (void)x;
217 (void)by;
218 (void)width;
219 (void)bheight;
220 (void)stride;
221}
222
209/* Update the display. 223/* Update the display.
210 This must be called after all other LCD functions that change the display. */ 224 This must be called after all other LCD functions that change the display. */
211void lcd_update(void) ICODE_ATTR; 225void lcd_update(void) ICODE_ATTR;