mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
jhd1313m1: modified destructor to clear and turn off lcd on delete
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
2fda38f7b1
commit
0dbfa06359
@ -79,6 +79,8 @@ Jhd1313m1::Jhd1313m1(int bus, int lcdAddress, int rgbAddress)
|
|||||||
|
|
||||||
Jhd1313m1::~Jhd1313m1()
|
Jhd1313m1::~Jhd1313m1()
|
||||||
{
|
{
|
||||||
|
clear();
|
||||||
|
setColor(0x00, 0x00, 0x00);
|
||||||
}
|
}
|
||||||
|
|
||||||
mraa_result_t
|
mraa_result_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user