oh ye remove that
This commit is contained in:
@@ -29,7 +29,6 @@ void lcd_close(struct lcd_t *lcd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void lcd_write(struct lcd_t *lcd, const uint8_t *cmdbuf, const uint16_t len) {
|
void lcd_write(struct lcd_t *lcd, const uint8_t *cmdbuf, const uint16_t len) {
|
||||||
applog(LOG_INF, "wrote %d bytes", len);
|
|
||||||
if (write(lcd->fd, cmdbuf, len) <= 0) {
|
if (write(lcd->fd, cmdbuf, len) <= 0) {
|
||||||
applog(LOG_ERR, "failed to execute write(), lost access to port?");
|
applog(LOG_ERR, "failed to execute write(), lost access to port?");
|
||||||
lcd_close(lcd);
|
lcd_close(lcd);
|
||||||
|
|||||||
Reference in New Issue
Block a user