mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
jhd1313m: write function fix for lost chars
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
995734642e
commit
cb353600ec
@ -99,6 +99,7 @@ Jhd1313m1::scroll(bool direction)
|
|||||||
*/
|
*/
|
||||||
mraa_result_t
|
mraa_result_t
|
||||||
Jhd1313m1::write (std::string msg) {
|
Jhd1313m1::write (std::string msg) {
|
||||||
|
usleep(1000);
|
||||||
mraa_result_t error = MRAA_SUCCESS;
|
mraa_result_t error = MRAA_SUCCESS;
|
||||||
uint8_t data[2] = {0x40, 0};
|
uint8_t data[2] = {0x40, 0};
|
||||||
for (std::string::size_type i = 0; i < msg.size(); ++i) {
|
for (std::string::size_type i = 0; i < msg.size(); ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user