From 4a1c56df411f9cac49fff21eb553e6ae01c128b5 Mon Sep 17 00:00:00 2001 From: penfold42 Date: Mon, 16 Jul 2018 23:15:46 +1000 Subject: [PATCH] s/Plottext/PlotText/g --- src/SSD1306.cpp | 2 +- src/SSD1306.h | 2 +- src/ScreenLCD.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; }