diff --git a/src/lcd/i2clcd.cxx b/src/lcd/i2clcd.cxx index 4c5fa54f..035d1508 100644 --- a/src/lcd/i2clcd.cxx +++ b/src/lcd/i2clcd.cxx @@ -41,6 +41,10 @@ I2CLcd::I2CLcd(int bus, int lcdAddress) : m_i2c_lcd_control(bus) } } +I2CLcd::~I2CLcd() +{ +} + mraa_result_t I2CLcd::write(int row, int column, std::string msg) { diff --git a/src/lcd/i2clcd.h b/src/lcd/i2clcd.h index 2063280a..778b9a74 100644 --- a/src/lcd/i2clcd.h +++ b/src/lcd/i2clcd.h @@ -84,6 +84,7 @@ class I2CLcd { public: I2CLcd(int bus, int lcdAddress); + virtual ~I2CLcd(); mraa_result_t write(int x, int y, std::string msg); virtual mraa_result_t write(std::string msg) = 0;