OSDN Git Service
(root)
/
scilog
/
scilog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LCDがリセットされて表示が更新されなくなる問題に対応
[scilog/scilog.git]
/
lcd.c
diff --git
a/lcd.c
b/lcd.c
index
1c8f5bc
..
639c2d4
100644
(file)
--- a/
lcd.c
+++ b/
lcd.c
@@
-77,8
+77,8
@@
static void i2clcd_init(void)
return;
}
ioctl(fh, I2C_SLAVE, I2CLCD_ADDRESS >> 1);
- // LCD自動初期化ON
- cfg =
1
;
+ // LCD自動初期化ON
にしても2行設定で初期化されるのでやらない
+ cfg =
0
;
data[0] = I2CLCD_CFG_ENABLE | (cfg & 0x1f);
data[1] = 0;
write(fh, data, 2);