mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
i2clcd: added virtual destructor to base lcd class
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
ec1828f2bc
commit
2fda38f7b1
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user