From 98f4bcde31d00b1c52063728b12e1b8aee841c14 Mon Sep 17 00:00:00 2001 From: Wouter van Verre Date: Thu, 9 Apr 2015 16:32:09 +0100 Subject: [PATCH] jhd1313m1.cxx: remove repeated function calls Signed-off-by: Wouter van Verre Signed-off-by: Mihai Tudor Panu --- src/lcd/jhd1313m1.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lcd/jhd1313m1.cxx b/src/lcd/jhd1313m1.cxx index 34205ffe..b26171d6 100644 --- a/src/lcd/jhd1313m1.cxx +++ b/src/lcd/jhd1313m1.cxx @@ -44,11 +44,6 @@ Jhd1313m1::Jhd1313m1(int bus, int lcdAddress, int rgbAddress) : I2CLcd(bus, lcdA usleep(50000); 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); - usleep(4500); - i2Cmd(m_i2c_lcd_control, LCD_FUNCTIONSET | LCD_2LINE); i2Cmd(m_i2c_lcd_control, LCD_DISPLAYCONTROL | LCD_DISPLAYON); clear();