diff --git a/radio/src/lcd_taranis.cpp b/radio/src/lcd_taranis.cpp index ddfed079b..01ab6337e 100755 --- a/radio/src/lcd_taranis.cpp +++ b/radio/src/lcd_taranis.cpp @@ -36,87 +36,6 @@ #include "opentx.h" -void lcdPutPattern(xcoord_t x, uint8_t y, const uint8_t * pattern, uint8_t width, uint8_t height, LcdFlags flags) -{ - bool blink = false; - bool inv = false; - if (flags & BLINK) { - if (BLINK_ON_PHASE) { - if (flags & INVERS) - inv = true; - else { - blink = true; - } - } - } - else if (flags & INVERS) { - inv = true; - } - - uint8_t lines = (height+7)/8; - assert(lines <= 5); - - for (int8_t i=0; i= 12) continue; - if (j<0 && !inv) continue; - } - else { - uint8_t line = (j / 8); - uint8_t pixel = (j % 8); - plot = b[line] & (1 << pixel); - } - if (inv) plot = !plot; - if (!blink) { - lcd_plot(x, y+j, plot ? FORCE : ERASE); - } - } - } - - x++; - lcdNextPos++; - } -} - void lcd_mask(uint8_t *p, uint8_t mask, LcdFlags att) { ASSERT_IN_DISPLAY(p);