Skip to content

Commit fcf7e11

Browse files
committed
Fix bug in virtual functions definition to fix vtable lookup error.
1 parent edd9d1e commit fcf7e11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OLEDDisplay.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ class OLEDDisplay : public Print {
247247
char *logBuffer = NULL;
248248

249249
// Send a command to the display (low level function)
250-
virtual void sendCommand(uint8_t com);
250+
virtual void sendCommand(uint8_t com) {};
251251

252252
// Connect to the display
253-
virtual bool connect();
253+
virtual bool connect() {};
254254

255255
// Send all the init commands
256256
void sendInitCommands();

0 commit comments

Comments
 (0)