mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +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
|
mraa_result_t
|
||||||
I2CLcd::write(int row, int column, std::string msg)
|
I2CLcd::write(int row, int column, std::string msg)
|
||||||
{
|
{
|
||||||
|
@ -84,6 +84,7 @@ class I2CLcd
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
I2CLcd(int bus, int lcdAddress);
|
I2CLcd(int bus, int lcdAddress);
|
||||||
|
virtual ~I2CLcd();
|
||||||
mraa_result_t write(int x, int y, std::string msg);
|
mraa_result_t write(int x, int y, std::string msg);
|
||||||
|
|
||||||
virtual mraa_result_t write(std::string msg) = 0;
|
virtual mraa_result_t write(std::string msg) = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user