From 04d836ab73b1229d5cb0d89c9b8c5acd13ad1d0c Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Tue, 28 Jan 2020 01:52:11 -0800 Subject: [PATCH] Removed unused function --- nano_gui.cpp | 7 ------- nano_gui.h | 1 - 2 files changed, 8 deletions(-) diff --git a/nano_gui.cpp b/nano_gui.cpp index fdfdfa3..da53b43 100644 --- a/nano_gui.cpp +++ b/nano_gui.cpp @@ -214,13 +214,6 @@ void displayChar(int16_t x, int16_t y, unsigned char c, uint16_t color, uint16_t tft.drawCharGFX(x,y,c,color,bg,1); } -void displayRawText(char *text, int x1, int y1, int color, int background){ - tft.setTextColor(color,background); - tft.setCursor(x1,y1); - tft.setBound(0,320); - tft.print(text); -} - void displayRawText(char *text, int x1, int y1, int w, int color, int background){ tft.setTextColor(color,background); tft.setCursor(x1,y1); diff --git a/nano_gui.h b/nano_gui.h index b6d24ac..e85d493 100644 --- a/nano_gui.h +++ b/nano_gui.h @@ -15,7 +15,6 @@ void displayVline(unsigned int x, unsigned int y, unsigned int l, unsigned int c void displayRect(unsigned int x,unsigned int y,unsigned int w,unsigned int h,unsigned int c); void displayFillrect(unsigned int x,unsigned int y,unsigned int w,unsigned int h,unsigned int c); void displayChar(int16_t x, int16_t y, unsigned char c, uint16_t color, uint16_t bg); -void displayRawText(char *text, int x1, int y1, int color, int background); void displayText(char *text, int x1, int y1, int w, int h, int color, int background, int border); void formatFreq(uint32_t freq, char* buff, uint16_t buff_size);