diff --git a/drivers/lcd/ssd1306_i2c.c b/drivers/lcd/ssd1306_i2c.c index 04a2e9ee36..b6e0b03805 100644 --- a/drivers/lcd/ssd1306_i2c.c +++ b/drivers/lcd/ssd1306_i2c.c @@ -100,7 +100,7 @@ void ssd1306_sendbyte(FAR struct ssd1306_dev_s *priv, uint8_t regval) ret = I2C_TRANSFER(priv->i2c, &msg, 1); if (ret < 0) { - snerr("ERROR: I2C_TRANSFER failed: %d\n", ret); + lcderr("ERROR: I2C_TRANSFER failed: %d\n", ret); } } @@ -144,7 +144,7 @@ void ssd1306_sendblk(FAR struct ssd1306_dev_s *priv, uint8_t *data, uint8_t len) ret = I2C_TRANSFER(priv->i2c, msg, 2); if (ret < 0) { - snerr("ERROR: I2C_TRANSFER failed: %d\n", ret); + lcderr("ERROR: I2C_TRANSFER failed: %d\n", ret); } }