diff --git a/src/SSD1306.cpp b/src/SSD1306.cpp index 0903db0..cfd5013 100644 --- a/src/SSD1306.cpp +++ b/src/SSD1306.cpp @@ -193,7 +193,7 @@ void SSD1306::SetVCOMDeselect(u8 value) SendCommand( (value & 7) << 4 ); } -void SSD1306::Plottext(int x, int y, char* str, bool inverse) +void SSD1306::PlotText(int x, int y, char* str, bool inverse) { int i; i = 0; diff --git a/src/SSD1306.h b/src/SSD1306.h index 47ff9bb..c06ea7c 100644 --- a/src/SSD1306.h +++ b/src/SSD1306.h @@ -79,7 +79,7 @@ public: SSD1306(int BSCMaster = 1, u8 address = 0x3C, int flip = 0, int type=1306); void PlotCharacter(int x, int y, char ascii, bool inverse); - void Plottext(int x, int y, char* str, bool inverse); + void PlotText(int x, int y, char* str, bool inverse); void InitHardware(); void DisplayOn(); diff --git a/src/ScreenLCD.cpp b/src/ScreenLCD.cpp index 3acf39c..bde0a30 100644 --- a/src/ScreenLCD.cpp +++ b/src/ScreenLCD.cpp @@ -100,7 +100,7 @@ void ScreenLCD::PlotRawImage(const u8* image, int x, int y, int w, int h) u32 ScreenLCD::PrintText(bool petscii, u32 x, u32 y, char *ptr, RGBA TxtColour, RGBA BkColour, bool measureOnly, u32* width, u32* height) { int len = 0; - ssd1306->Plottext(x >> 3, y >> 4, ptr, (BkColour & 0xffffff) != 0); + ssd1306->PlotText(x >> 3, y >> 4, ptr, (BkColour & 0xffffff) != 0); return len; }