mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
jhd1313m1.cxx: remove repeated function calls
Signed-off-by: Wouter van Verre <wouter.van.verre@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
bb59d5db7a
commit
98f4bcde31
@ -44,11 +44,6 @@ Jhd1313m1::Jhd1313m1(int bus, int lcdAddress, int rgbAddress) : I2CLcd(bus, lcdA
|
|||||||
usleep(50000);
|
usleep(50000);
|
||||||
i2Cmd(m_i2c_lcd_control, LCD_FUNCTIONSET | LCD_2LINE);
|
i2Cmd(m_i2c_lcd_control, LCD_FUNCTIONSET | LCD_2LINE);
|
||||||
usleep(4500);
|
usleep(4500);
|
||||||
i2Cmd(m_i2c_lcd_control, LCD_FUNCTIONSET | LCD_2LINE);
|
|
||||||
usleep(4500);
|
|
||||||
i2Cmd(m_i2c_lcd_control, LCD_FUNCTIONSET | LCD_2LINE);
|
|
||||||
usleep(4500);
|
|
||||||
i2Cmd(m_i2c_lcd_control, LCD_FUNCTIONSET | LCD_2LINE);
|
|
||||||
|
|
||||||
i2Cmd(m_i2c_lcd_control, LCD_DISPLAYCONTROL | LCD_DISPLAYON);
|
i2Cmd(m_i2c_lcd_control, LCD_DISPLAYCONTROL | LCD_DISPLAYON);
|
||||||
clear();
|
clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user