mirror of
https://github.com/eclipse/upm.git
synced 2025-07-06 03:41:13 +03:00
i2clcd: remove unused function argument from the writeChar function
The writeChar function in the ssd13xx classes had an unused argument. 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:

committed by
Mihai Tudor Panu

parent
ae0d99369b
commit
53b58225a4
@ -173,7 +173,7 @@ SSD1327::write(std::string msg)
|
||||
|
||||
setVerticalMode();
|
||||
for (std::string::size_type i = 0; i < msg.size(); ++i) {
|
||||
writeChar(m_i2c_lcd_control, msg[i]);
|
||||
writeChar(msg[i]);
|
||||
}
|
||||
|
||||
return error;
|
||||
@ -212,7 +212,7 @@ SSD1327::clear()
|
||||
for (rowIdx = 0; rowIdx < 12; rowIdx++) {
|
||||
// clear all columns
|
||||
for (columnIdx = 0; columnIdx < 12; columnIdx++) {
|
||||
writeChar(m_i2c_lcd_control, ' ');
|
||||
writeChar(' ');
|
||||
}
|
||||
}
|
||||
|
||||
@ -238,7 +238,7 @@ SSD1327::setGrayLevel(uint8_t level)
|
||||
* **************
|
||||
*/
|
||||
mraa_result_t
|
||||
SSD1327::writeChar(mraa_i2c_context ctx, uint8_t value)
|
||||
SSD1327::writeChar(uint8_t value)
|
||||
{
|
||||
if (value < 0x20 || value > 0x7F) {
|
||||
value = 0x20; // space
|
||||
|
Reference in New Issue
Block a user