Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Memory management] Add virtual destructor for improved memory management #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Adafruit_PCD8544.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class Adafruit_PCD8544 : public Adafruit_GFX {
Adafruit_PCD8544(int8_t dc_pin, int8_t cs_pin, int8_t rst_pin,
SPIClass *theSPI = &SPI);

virtual ~Adafruit_PCD8544() {}

bool begin(uint8_t contrast = 40, uint8_t bias = 0x04);

void command(uint8_t c);
Expand Down