File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class InfoDisplayRender
1111 const static int MAX_CONSOLE_LINES = 16 ; // Maximum number of lines of text to buffer in console mode
1212 const static int DISPLAY_CONSOLE_LINES = 6 ; // Number of lines to display in console mode
1313
14- protected:
14+ protected:
1515 OLEDDisplay *_display;
1616 long _lastNumCmds;
1717 bool _consoleMode;
@@ -41,10 +41,10 @@ class InfoDisplayRender
4141 return _display;
4242 };
4343
44- virtual void renderScreen (void *context) =0;
44+ virtual void renderScreen (void *context) = 0;
4545
4646 // Build the display from the mount
47- virtual void render (void (*drawContentFunction)(void *))
47+ virtual void render (void (*drawContentFunction)(void *))
4848 {
4949 _display->clear ();
5050 if (drawContentFunction)
@@ -83,7 +83,7 @@ class InfoDisplayRender
8383 _consoleMode = active;
8484 };
8585
86- virtual int addConsoleText (const String& text, bool tinyFont = true )
86+ virtual int addConsoleText (const String & text, bool tinyFont = true )
8787 {
8888 int returnIndex = 0 ;
8989 if (_curLine > MAX_CONSOLE_LINES - 1 )
Original file line number Diff line number Diff line change @@ -3359,7 +3359,7 @@ void Mount::updateInfoDisplay()
33593359 if (now - _lastInfoUpdate > (1000 / refreshRateHz))
33603360 {
33613361 LOG (DEBUG_DISPLAY, " [DISPLAY]: Render state to OLED ..." );
3362- infoDisplay->renderScreen ((void *) this );
3362+ infoDisplay->renderScreen ((void *) this );
33633363 LOG (DEBUG_DISPLAY, " [DISPLAY]: Rendered state to OLED ..." );
33643364 _lastInfoUpdate = now;
33653365 }
Original file line number Diff line number Diff line change @@ -45,15 +45,15 @@ class SDD1306OLED128x64 : public InfoDisplayRender
4545 const int _decSize = 43 ;
4646 const int _decScalePos = 115 ;
4747
48- const int yMaxStatus = 63 - 11 ;
48+ const int yMaxStatus = 63 - 11 ;
4949
5050 char _commLetter;
5151 static Mount *_mount;
5252
5353 public:
5454 SDD1306OLED128x64 (uint8_t addr, int sda, int scl);
5555 void static renderCallback (void *context);
56- void drawScreen () ;
56+ void drawScreen ();
5757
5858 // Build the display from the mount
5959 void renderScreen (void *mount);
You can’t perform that action at this time.
0 commit comments